Jump to content

Hybrid Layout: Layout Issues


spk1973

Recommended Posts

Hi all,

Hoping someone can help me figure this out...I'm creating a hybrid layout (tables & css) and so far am very happy with the results.

The problem I'm having is with my sidebar/testimonial portion...I've got it just the way I want it on the home page, tucked up close to the top right of the content section. However, when editing the other pages to reflect this, working on "about", and "contact" pages. the testimonial keeps creeping down the right side of the page!! I've double-checked my code and don't see why this is happening, but perhaps I'm missing something.

 

Here is the link to the page:

http://www.analyticlandsurveys.com

and the css can be found here:

http://www/analyticlandsurveys.com/style.css

 

I have validated the html and css, which helped remove some errors, but nothing that affected the creeping quote.

Any help very much appreciated.

-Shawn

Link to comment
Share on other sites

Okay, I've figured out the reason that the quote on the sidebar keeps creeping down:

Each of the pages I mentioned (home, about, contact) has increasingly larger amounts of content. The table is being stretched and the quote is centering itself within the cell.

Now the question is: How can I get the quote to remain aligned to the top of the cell, regardless of content in the other cells?

-Shawn

Link to comment
Share on other sites

What a mess, you should only use tables for tabular data and CSS for layout and styling. As for validation, your html on the contact page has 37 errors and the CSS 6. There are all sorts of missing opening and closing tags.

 

Apart from that, as you are using tables you need to use rows and put your quote on the same row as the top part of your text with the Contact form in another row underneath. At the moment you have everything in one unclosed

tag with the quote at the bottom.

 

If you are going to be doing web design, do yourself a favour and learn CSS for layout, it's really not that hard.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...