my site don't show properly :(

Renegade's picture

He has: 3,022 posts

Joined: Oct 2002

how come my site doesn't show properly in opera? or in ns, it shows properly in IE and IE only, actually ie 5 and up, i need some help

Renegade's picture

He has: 3,022 posts

Joined: Oct 2002

taff's picture

They have: 956 posts

Joined: Jun 2001

For starters, IE is more tolerant of coding errors and you have a couple. Take a close look at your table structures.

Beyond that, you need to be more specific

.....

Renegade's picture

He has: 3,022 posts

Joined: Oct 2002

well to be specific here's what i c:

white background, where it's ment to be a light bluey colour :#55aaff;

what do u guys c?

o btw it has no heading so just ignore that

Mark Hensler's picture

He has: 4,048 posts

Joined: Aug 2000

The page has a light blue background. The table where the form is has a white background. The form inputs have a gray background.

And the logo at the top right isn't loading.

Mark Hensler
If there is no answer on Google, then there is no question.

Renegade's picture

He has: 3,022 posts

Joined: Oct 2002

yeah, nopthing in the headsection is loading, because there's nothing there, were u using ie mark?

Busy's picture

He has: 6,151 posts

Joined: May 2001

take the html comments out of your .css file
at the bottom

Renegade's picture

He has: 3,022 posts

Joined: Oct 2002

ok busy, but what will that do?

The Webmistress's picture

She has: 5,586 posts

Joined: Feb 2001

Make the css work properly??

Busy's picture

He has: 6,151 posts

Joined: May 2001

HTML and CSS are seperate things, a comment in HTML is and a comment in CSS is /* */ both are unsupported by the other

Renegade's picture

He has: 3,022 posts

Joined: Oct 2002

oic, well it's gone now, i have yet to upload it

...i'm thinking of making my site load different pages [index.php] and css files based on their browser, how would i do that?

Busy's picture

He has: 6,151 posts

Joined: May 2001

not an easy answer, you can use javascript to sniff for the browser type but has two downsides, one if javascript is turnd off (which is very common these days to avoid pop ups) it wont work, and two some browsers like Opera can have different ones.

you can use CSS "link" and "import" but will limit it to version 4 and below and version 5 and above but wont actually differ between browsers.

You can use PHP I believe to get browser type, but again isn't 100%

if your going for browser type, you'd end up with about 3 or 4 files, IE, NS, and other, then if you want new and old, it's another 2 files

best to use the css old/new and just use 2 style sheets and try make the site universal (same in all browsers)

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.