ok i need someone to check out my site www.fourcheers.com in firefox. things are messed up there is no border, or background image.the background image should be behind the text with a border around the content and a differant bgcolor within that border. can you look at my source. would it have somethign to do with specificity, or marrgins and padding or just have the css syntax wrong.
fire fox
First thing is first:
<html> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
should look like:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html>
fire fox
Next the div with the background is too small to show any of it:
width: 1%; height:1%;
fire fox
You have class="divs" and class="img" in your markup but neither are defined in your css.
fire fox
Sorry, mate, but you have got to start from scratch because your code appears to indicate you don't really understand selectors, positioning concepts, classes and id in CSS. In your HTML you have an incomplete Doctype that is in the wrong position. However, on the positive side, you are smart enough to ask questions and to have found this place.
I really recommend you visit this site's Links page and check out some of the recommended tutorials and sites.
After you have familiarized yourself a bit more with the concepts and terminology, we can take a run at your page. I would recommend that you mock up what you want your page to look like in a graphics program and upload it here. Then we can deconstruct the page into blocks and show how you should go about coding the HTML in a logical, standards-compliant manner and the CSS that will create the look for which you are striving.
DE
[And Triumph - it is possible to edit a previous message if you have something more to add. :? ]
fire fox
ok i'm just going to start over cuz i just did a simular site and it looks fine. but thanks for the straight forward help. most other forums/ message borders make fun of you...don't help or anwser your questions at all.
fire fox
Great image, David.
cheers,
gary
fire fox
[And Triumph - it is possible to edit a previous message if you have something more to add. :? ]