
February 12th, 2013, 02:43 PM
|
 |
For POny!
|
|
Join Date: Apr 2012
Location: Amsterdam
|
|
If dreamweaver produces this:
Code:
<body.twoColFixLtHdr><div#container><div#header><p><img.fltlft>
and that is also outputed to the browser than that is wrong. It's invalid code , which as far as I see is used by a different program to interpret it and make it valid html.
As far as the property Clear. Did you try to google it?
I can tell that float and clear are like brother and sister, but it would be wise to google it and read about it, unless you like me to paste the w3c manual here.
Quote: |
I set up the header with text only. object + padding +border Then I try to insert the image which is bigger than the object+padding+margin. So either the image can't fit or the object gets bigger. The images are stuck to the top edge of Header. Could that be the cause of my problems? |
I would suggest you show us some valid html and css.
The basics look like this
Code:
<!DOCTYPE html>
<html>
<head>
<title></title>
</head>
<body>
</body>
</html>
They all have a begin and endtag (unlike your code).
|