Quote:
Originally Posted by hellhound121
Would be a good idea to post the HTML and CSS so people can look at it ^^.
the background shows in EI, and not in FF, and as you said, the yellow background runs out of the wrapper, i think you might of set it a height? im still new to css and without seeing your code i cant help. :<
|
Hit Ctrl+U or go to View -> Page Source in your browser. It shows the html source there
To find the CSS look for anything in <style> or <link type="text/css"> then copy and paste the file to the domain he gave us.
http://www.capitalwebtec.com/clients/kls/kls_css.css
----------------------------------------------------------------------------
Ok Blandis a few things I noticed right off the bat within your html. Take a look at your navigation system. You added:
[code]
<ul margin: 0px; class="menu">
[/code]
Two ways to fix this, either add it in your css as:
Code:
ul.menu { margin: 0; }
The above code states that any <ul> tag that has class menu give them all a margin of 0.
Say you gave your ul an id instead like:
Then you would put this in your css instead:
Code:
ul#navbar { margin: 0; }
Code:
<ul style="margin: 0;" class="menu">
If you want all your <ul>'s to have no margin you can put this in the css file:
You can leave out the "px" after the 0, since either way its nothing. (I know its only 4 bytes of space...but hey it adds up!)
Now that I have looked through all of your html, you do this quite frequently. You must add a style="" in order to do this you can't just add it in there. Im not sure if you are using XSL/XML to form the page but this is incorrect html syntax. A list below of all the occurences you should fix:
Code:
<div id="leftside" text-align:left;>
<ul margin: 0px; class="leftnav">
<ul margin: 0px; class="bodytext">
It looks like you add margin: 0; all over the page for your <ul>'s so my suggestion is to put: ul { margin: 0 } somewhere in your css. I usually define what I call those as global tags at the very top of my css in case I need to go back and change them later. By global tags I mean things that will effect every single thing having to do with that tag, for example: body, img, a, etc.