Css validation error ??

liunx

Guest
hi guys,

i have been working on some html, php and i dont think any css.

last thing i did was link a print css file to each page.

before that my css valadated just fine (except for no scrollbars for FF)

i have just noticed the Banner and footer are a milimeter or 2 out and if i validate it there are lots (tons) of errors.

i think i have a little something out by accident.

can someone take a look for me please?

<!-- m --><a class="postlink" href="http://www.deskjetmodels.co.nz/index.phpHi">http://www.deskjetmodels.co.nz/index.phpHi</a><!-- m -->,

removed...


edit:
is this link valid ?

<link rel="stylesheet" type="text/css" media="print" href=http://www.webdeveloper.com/forum/archive/index.php/"print.css" />

if you check only the url <!-- m --><a class="postlink" href="http://www.deskjetmodels.co.nz/">http://www.deskjetmodels.co.nz/</a><!-- m --> you get a 404 error about the style sheet.i removed

<link rel="stylesheet" type="text/css" media="print" href=http://www.webdeveloper.com/forum/archive/index.php/"print.css" />

and is still the same.

tried it in firefox with and without

<link rel="stylesheet" type="text/css" media="print" href=http://www.webdeveloper.com/forum/archive/index.php/"print.css" />

and everything displays as should. must be IE?

ok i see why i am getting all the error's. it is becuase i am linking to a blank print css. i guess i need to hurry up and write a vaild print css file!

but that still doesnt explain why the Header and footer etc are a few millimetres out??are you talking about the margin above the navigation links?@import "../css/model.css"; The validator can not go back a level from the root.

header.jpg is 699px, but you specify width: 698px; ???

border: thin; This is not the same in all browsers, use pxthanx Fang,

i changed the widths all to 699px.

i changed the thin to 1px.

still the header and footer are sticking out on the left a wee bit. can you see what is wrong now?

and about the import..how do i fix this?? would i not have it down so many levels (folders)?


@import "../css/model.css"; The validator can not go back a level from the root.


thanx for your help :Djust place the file inside or above the root...thanx Olaf!

will do that now.

and about the gap above the center nav in FF.. i know about that,, but dont know how to fix!

any pointers or help with that? :eek:... play with line height in the diff. elements or check the style sheets on my website(s)thanx guys,

the css files are validating now.. both of them.

Olaf - Fixed the Center nav, it was the line height.

Still stumped as to why the footer and header and side borders are sticking out to the left a little :confused:maybe you can use the border for the container element.I like the (hover) airplanes in your navigation...

IE users can't see them :(Add: #container padding-left:1px;
Change: #footer width: 698px;
The problem is the background image that is 696px between the bordersHi guys,

thanx Fang, that has fixed the problem.

Olaf - what do you mean IE users cannot see them? what versions? im on IE6 and i can see them.Hi guys,

thanx Fang, that has fixed the problem.

Olaf - what do you mean IE users cannot see them? what versions? im on IE6 and i can see them.
IE 6 on W2Kim on IE6 win2k at work and they work fine?

what do you think is happening?Hi,
I can see (now) the airplanes but you need a JS preloader for the background image.

(use the standard script from DW)JS preloader for the background image.

can you explain this?

why i need it etc

gonna check google out.

thanx olaf!take a look here
<!-- m --><a class="postlink" href="http://www.bergtoys.nl/products.phpwhat">http://www.bergtoys.nl/products.phpwhat</a><!-- m --> am i ment to be looking at on this site? i cannot see anything different :confused:<body onLoad="MM_preloadImages('/Images/page_elements/prodIndex/klein.jpg','...

the JSfunction is inside an ext. file You need this, Otherwise (first) invisible images are not preloadedhi guys,

i have noticed something very odd.

Fang - you were helping me with my Header and Footer being 1 or 2 px out on the left. and we fixed that.

But for some reason, when i view the site at home (winXP IE6) its back out again??

when i veiw at work (win2k IE6) it is fine. very bizzare.

and to top it all off, when i view the style sheet (<!-- w --><a class="postlink" href="http://www.deskjetmodels.co.nz/css/model.css">www.deskjetmodels.co.nz/css/model.css</a><!-- w -->) in Top Style with a xhtml file (<!-- w --><a class="postlink" href="http://www.deskjetmodels.co.nz/about.php">www.deskjetmodels.co.nz/about.php</a><!-- w -->) the header and footer are out buy 1 or 2 px again.

very confused. can anyone shine some light on anything here ? :confused: :confused: :confused:I've looked at it in XP IE6 an IE5.5, no problems :confused: (IE5 missing header image and content layout broken)
Changing the (background) image width to fit the other images could be the solution, at the moment you are forcing the images to fit.ok,

im getting very very confused with what is going on here.

i have tried all i could to get things looking 'in place' again.

FF is fine.

IE, the header and footer are out by 1px (or so) on the left.

fang - you asked me to change some values - and i did - and it worked, but for some reason things are still out.

i think i have changed the values back to how they were now.

here is the link :

css
<!-- w --><a class="postlink" href="http://www.deskjetmodels.co.nz/css/model.css">www.deskjetmodels.co.nz/css/model.css</a><!-- w -->



thanx guyscan people see anything wrong?? :confused:

or is it just me going crazy :eek:ok,

i have been checking my page at work on a few different machines and it is showing up fine,

just my machine at home it is not displaying correct, i thought it was cashing, but i have cleared that.

if people could view this link and let me know if YOU can see that the header and footer are 'out' that would be great!

<!-- w --><a class="postlink" href="http://www.deskjetmodels.co.nzit">www.deskjetmodels.co.nzit</a><!-- w --> looked fine to me (all line up) on FF and IE6 on WXP with 1024x768thanx bathurst_guy,

looks like i dont have anything to worry about then.

for some reason my computer at home is displaying incorretly :confused:
 
Back
Top