Jump to content

Welcome to Geeks to Go - Register now for FREE

Geeks To Go is a helpful hub, where thousands of volunteer geeks quickly serve friendly answers and support. Check out the forums and get free advice from the experts. Register now to gain access to all of our features, it's FREE and only takes one minute. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more.

Create Account How it Works
Photo

Website looks good in Safari and Chrome, horrible in IE and FF?


  • Please log in to reply

#1
bluegang6

bluegang6

    Member

  • Member
  • PipPipPip
  • 222 posts
My site looks pretty good in Google Chrome and Safari.

However, it is all messed up in FireFox!

I'm not sure as to why it is like that, but I welcome any tips!

http://techtubemedia.com/release/test/

This is just a beta of my final site. I have valid html (all expect the YouTube player).

Are the tables rendered differently in each browser?

The table cells that make up the site each have a respective background, and then either another table or div tags to house text and images.
Shouldn't table size be constant all around?

And how do I get rid of the blue borders around my images :S? A css element that makes text decoration to none?

sorry for my lack of knowledge :S This is my first ever coded site!

p.s. I am aware of the randomly placed 'hidden' div element sporting a menu. This is from a previous design, will get rid of it soon.




On a lighter side, I think I may need a new color Scheme? Ideas? (hex codes would be great :})

I currently also have this design, but I think the white looks better:
http://grab.by/9sUG
  • 0

Advertisements


#2
AstraNut

AstraNut

    Member

  • Member
  • PipPipPip
  • 384 posts
RE: http://techtubemedia.com/release/test/ page...

HTML errors

You are coding to an XHTML 1.0 doctype. Some of the errors don't mean much, but best to correct them anyway.

Why Validate?: http://validator.w3.org/docs/why.html
CSS Validator: http://jigsaw.w3.org/css-validator/
HTML Validator: http://validator.w3....ri with_options
But it Doesn’t Validate : http://net.tutsplus....oesnt-validate/

Empty style and center tags. Center tags have been deprecated. Table tags for layouts went out in the late 1990s, but can be done better using CSS to set its presentation.

Tableless Web Design: http://en.wikipedia....less_web_design
Why tables for layout is stupid: http://www.hotdesign.com/seybold/
How to convert manually your HTML tables to CSS: http://www.table2css...l-tables-to-css
Images, Tables, and Mysterious Gaps: https://developer.mo...Mysterious_Gaps

http://grab.by/9sUG took too long to load for me so clicked out.
  • 0

#3
bluegang6

bluegang6

    Member

  • Topic Starter
  • Member
  • PipPipPip
  • 222 posts
Hey,

I have 5 HTML errors, I can't really modify them as they are part of the official YouTube Widget
I have 0 CSS errors

Yup, sorry about those center tags, nothing is in them, was using it to test something :D

Never heard of avoiding table layouts. Actually, when I first designed this, all I heard from various designers was "use tables" Maybe they were just trying to screw me over :S.

I understand.

Your link for How to convert manually your HTML tables to CSS seems to be broken, Searched a little and found this link: http://www.table2css...html-tables-css



http://grab.by/9sUG leads to http://grab.by/grabs...3d57054bffd.png (it's just an image of my secondary design)

Will have a look at the table 2 css transformation and will reply with results

However, how do I get rid of the blue borders around my images :S? A css element that makes text decoration to none? (view in FF)

Thanks again,
Blue
  • 0

#4
AstraNut

AstraNut

    Member

  • Member
  • PipPipPip
  • 384 posts
Sorry about broken link. Looks like they updated and renamed the file. Thanks for letting me know.

Might add this to the top of your CSS:

* {
margin: 0;
padding: 0;
border: 0;
}

That is the Universal Selector and will reset all browsers before your CSS takes over. A better: CSS reset file

If you are getting a border for image links, try:

a img {
text-decoration: none;
border: none;
}

Tables layouts are ok when you use CSS with them, but they really were only meant to be used to set up tabular data.
  • 0

#5
bluegang6

bluegang6

    Member

  • Topic Starter
  • Member
  • PipPipPip
  • 222 posts
Wow, thank you.

Simply adding


a img {
text-decoration: none;
border: none;
}

table {
border-collapse: collapse;
border-spacing: 0;
}
to my CSS document helped alot!

Will stay with the table-based design for now, will completely try to avoid it later :D
  • 0

#6
bluegang6

bluegang6

    Member

  • Topic Starter
  • Member
  • PipPipPip
  • 222 posts
Wow, thank you.

Simply adding


a img {
text-decoration: none;
border: none;
}

table {
border-collapse: collapse;
border-spacing: 0;
}
to my CSS document helped alot!

Will stay with the table-based design for now, will completely try to avoid it later :D
  • 0

#7
AstraNut

AstraNut

    Member

  • Member
  • PipPipPip
  • 384 posts
You're welcome. Many people forget the border-collapse part when using tables. Wouldn't hurt, when you find time, to change over from tables. Large sites may find it not economically feasible nowadays. Good luck.
  • 0

#8
adamdillon

adamdillon

    Member

  • Member
  • PipPip
  • 67 posts
Using <div> tags is the way to lay sites out now instead of <table>
  • 0

#9
bluegang6

bluegang6

    Member

  • Topic Starter
  • Member
  • PipPipPip
  • 222 posts
Yea, noticed that ;)

That's what I'm doing from now on :D

thanks :D
  • 0

#10
AstraNut

AstraNut

    Member

  • Member
  • PipPipPip
  • 384 posts

Your link for How to convert manually your HTML tables to CSS seems to be broken, Searched a little and found this link: http://www.table2css...html-tables-css


The link is" http://www.table2css...html-tables-css

Finally tracked it down. Seems the page was renamed.
  • 0

#11
bluegang6

bluegang6

    Member

  • Topic Starter
  • Member
  • PipPipPip
  • 222 posts

Your link for How to convert manually your HTML tables to CSS seems to be broken, Searched a little and found this link: http://www.table2css...html-tables-css


The link is" http://www.table2css...html-tables-css

Finally tracked it down. Seems the page was renamed.

lol, I know :D

I posted that earlier (my link works :D)
  • 0

#12
AstraNut

AstraNut

    Member

  • Member
  • PipPipPip
  • 384 posts
Sorry. Didn't see your updated link here.
  • 0






Similar Topics

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

As Featured On:

Microsoft Yahoo BBC MSN PC Magazine Washington Post HP