PDA

View Full Version : Stupid horizontal scrollbar...


qwerty
19-06-2004, 12:29/12:29PM
I'm sure I'm missing something obvious here, but would someone have a look at this site (http://www.einvite.com/) and tell me what the problem is with the home page that's causing a horizontal scrollbar?

At 800 x 600, all the pages have a slight scroll, and I'm sure that'll be easy enough to fix, but the home page has one no matter how big I make the window.

Bernard
19-06-2004, 14:24/02:24PM
I see 2 main columns (left search/log in pane and right pane with copy). The right pane contains 3 columns of images. Tables will always set the minimum column width to the maximum width necessary to display an image AFAIK.

qwerty
19-06-2004, 14:34/02:34PM
Yeah, those three columns to the right work out to 740 px. I guess they'll have to shrink down some of those images.

I was thinking the problem could involve the banner area at the top as well. It seems to be set for 100%, and I've always had problems with that, but that may be just a FrontPage quirk. And I use FP, but I don't believe their developers do.

WebSavvy
29-06-2004, 08:03/08:03AM
They have the <body> tag defined with a class attribute. This is incorrect and will cause major issues.

The body tag does not need to have the class defined. CSS will automatically assign CSS elements that are attributes of the body tag classification through the stylesheet.

Also, not that this is a major issue, but there are no linebreaks between meta tags. They're all ran together like this:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"><html xml:lang="en" xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><title>eInvite — Invitations &amp; Printed Stationery – Weddings, Bar Mitzvahs, Parties, Birth Announcements, Holiday Cards.</title><meta name="Keywords" content="Wedding Invitations, invitations, bar mitzvahs, bat mitzvah, birth announcements, holiday greetings, birthdays, stationery, holiday, party, party invitation, celebration, moving, moving announcement, business, baby shower, birthday invitation, holiday card, greeting card, announcement, wedding announcement, baby announcement, christmas card cards, wedding etiquette, personalized, stationary, greeting, cards, business cards, bridal showers, baby, moving, bride, etiquette, custom, printed, adoption, save the date, print at home, imprintables, corporate, Jewish New Year, Christmas, Anniversary, Graduation, Religious, Thermography, Boxed Stationery, Fast Shipping, Online Proofing, Quality Custom Printing, eInvite.com, anna, griffin, Checkerboard." /><meta name="Description" content="eInvite.com – Quality Custom Printed Invitations for any occasion. Weddings, Birth Announcements, Holiday cards, Parties, Bar Bat Mitzvahs, Stationery. Instant Online Proofing. Quick delivery." /><meta http-equiv="Content-Style-Type" content="text/css" /><meta http-equiv="Content-Script-Type" content="text/javascript" /><meta http-equiv="Content-Language" content="en-US" /><link rel="stylesheet" type="text/css" href="/stylesheets/eInvite.css" /></head><body class="home">