make a correction and it now works in IE and firefox. I Sorry made corrections - gave the container a height and rather than put a div around the image I used the img selector.
An issue would be the width percentage... for instance if i set it to 22% then it might force the image down below, is...
fair point, this is the code that I came up with...
it's look ok, is there anything obviously wrong with it?
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>test</title>
<style type="text/css">
#container {
width...
If I used 3 div's should I not also put the image in a div and have a fourth div?
should I put a percentage on the div's
with the links going down horizontally should I use a list menu?
how would the code look?
thanks.
This is a layout that I am trying to create http://www.amiwired.com/layout/layout2.htm
Not too sure about how to go about this.
Should I use a container div and 2 div's within, one for the links and one for the image?
Should I float the image or use it as a background for the div?
How should...
I read "IE5/Win incorrectly applies the CSS "text-align" attribute to block-level elements. Declaring "text-align:center" for the containing block-level element (often the BODY element) horizontally centers the box in IE5/Win....Declaring "text-align:center" for the containing block-level...
Why does the code below produce two different pages.
IE seems to work fine and put a border around the div.container that houses the div.box's while Firefox just has a line across the top.
You can see what I mean http://www.amiwired.com/layout/layout.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD...
ok that's correct, the reason I overlooked that was simply because the image was top left and there was no padding visible between the image and the border. I hadn't thought that the image would be the background for the padding as well.
How about the other issue of the vertical-align: bottom;?
Couple of questions, why does the header div appear to be alot more than 640px? When I ran another test and included a 468x60 image there's alot of space in the div?
Another question is why does the vertical-align not work?
#header {
width: 640px;
height: 92px;
margin: 0 auto...
I'd appreciate any help on how to create a page layout using CSS that looked like this image
http://www.amiwired.com/layout/layout.htm
The div's should be about 35% each with a gap between.
thanks.
thanks for that dotnetgnat,
but one of the problems is trying to insert the line break into the database and why any text after the line break isnt inserted.
any ideas?
I ran a test with a form and the code below, when I entered text into the form and clicked the enter button for a line break and then entered some more text, I noticed that only the first piece of text was entered into the database
tarea=Replace(Request.form("textarea")
sSQL="INSERT INTO...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.