Killersites.com Homepage Welcome Guest   |   Register  |  Login
Login Name Password
  Search  
  Index  | Recent Threads  | Unanswered Threads  | Who's Online  | User List  | Help


Quick Go »

No member browsing this thread
Thread Status: Active
Thread Type: Sticky Thread
Total posts in this thread: 39
Posts: 39   Pages: 4   [ Previous Page | 1 2 3 4 | Next Page ]
[ Jump to Last Post ]
Post new Thread
Author
Previous Thread This topic has been viewed 37522 times and has 38 replies Next Thread
Male billyboy
Advanced Member
Member's Avatar


Joined: Sep 3, 2005
Post Count: 2206
Status: Offline
Reply to this Post  Reply with Quote 
Re: Standard - floating nav and banner

@henns
Centering any fixed width layout makes more sense to avoid huge amount of empty space on the right of screen at higher resolutions. The widest a fixed width layout can be to avoid sidescroll at 800x600 is around 760px. A user with their screen resolution set to 1280x1024 would have around 500px of empty space if that was left align. Centering evens out the empty space and looks better.

@j.watts
There's a couple of examples of what you're talking about at Stu Nicholls CSS Play: Fixed Layouts. Adding fixed positioning to the CSS for whatever element you want to keep from scrolling is all that's needed for standards compliant browsers. But for IE you have to add height 100% and overflow: auto to html and body and then apply absolute positioning to the element.
----------------------------------------
Quiquid latine dictum sit altum viditur
[Oct 12, 2006 2:49:25 AM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Male j.watts
Stranger



Australia
Joined: Oct 12, 2006
Post Count: 2
Status: Offline
Reply to this Post  Reply with Quote 
Re: Standard - floating nav and banner

Got it - good tip, thanks.

Jeff
[Oct 12, 2006 6:13:14 PM] Show Printable Version of Post    View Member Profile    Send Private Message    Hidden to Guest [Link] Report threatening or abusive post: please login first  Go to top 
Male henns20
Newbie



United States
Joined: May 3, 2006
Post Count: 31
Status: Offline
Reply to this Post  Reply with Quote 
Re: Standard - floating nav and banner

thx for the clarification billy boy

henns20
[Oct 14, 2006 5:54:14 PM] Show Printable Version of Post    View Member Profile    Send Private Message    Hidden to Guest [Link] Report threatening or abusive post: please login first  Go to top 
Male michaelv
Stranger




Joined: Oct 28, 2006
Post Count: 2
Status: Offline
Reply to this Post  Reply with Quote 
Re: Standard Website Layouts

blushing

I don't understand ...

What is a CSS "hack" ?
----------------------------------------
You don't have to be ignorant to make bad web pages, but it helps!
[Oct 28, 2006 5:48:00 PM] Show Printable Version of Post    View Member Profile    Send Private Message    Hidden to Guest [Link] Report threatening or abusive post: please login first  Go to top 
Male daddyalfie
Advanced Member
Member's Avatar


Joined: Jul 17, 2006
Post Count: 192
Status: Offline
Reply to this Post  Reply with Quote 
Re: Standard Website Layouts

A "hack" is a general rule to "fool" a certain browser to comply with rules. Internet Explorer is infamous for having its own interpretation of the rules, as set fourth by the "World Wide Web Consortium." (W3C).

There are certain "rules" IE does not understand, so some styling elements in CSS can be "hidden" from IE, and applied only to comliant browsers. (Actually it is the other way around. First you apply the rule IE understands, then you apply rules only compliant browsers understand, but in a form that hides it from IE.)

Check within this forum for do's and don'ts. Stefan has some awesome posts! I do not have specific search items, but I would suggest "CSS hacks" as a start.

Alfie (Am I right Gurus?)
----------------------------------------
If you can't sleep, try lying on the end of the bed. Then you might drop off. - Mark Twain
----------------------------------------
[Edit 3 times, last edit by daddyalfie at Nov 5, 2006 5:54:34 PM]
[Nov 5, 2006 5:45:37 PM] Show Printable Version of Post    View Member Profile    Send Private Message    Hidden to Guest [Link] Report threatening or abusive post: please login first  Go to top 
Female clair
Newbie
Member's Avatar

U.S.
Joined: Oct 29, 2006
Post Count: 33
Status: Offline
Reply to this Post  Reply with Quote 
Re: Website Layouts - 2-col-CSS for helping newbies

As I said I would do elsewhere in this forum, I have put up a simple 2-col layout using Doc type Strict. It is valid HTML(strict) and CSS. Though the CSS validator tosses out warnings about not having colors set. (If they needed to be set, I would have set them! Grrr.)

http://www.vt2000.com/2colcss

The only hack in it is the one for Macs included in the tabbed menus which I used -- courtesy of exploding-boy.com. Both the HTML and the CSS are straightforward, nothing fancy, just clean and solid.

The layout works fine in IE6, IE7, FF2, and O9. It has its own directory on my server so it will have a permanent home.

The CSS is included in the HTML file.

Hope it helps someone. (If you are a newbie, please help yourself to it, and also I would strongly advise getting Meyer's CSS, and also Budd et al. CSS Mastery.)

Clair


Clair
----------------------------------------
[Edit 1 times, last edit by clair at Dec 11, 2006 1:29:11 PM]
[Dec 11, 2006 1:26:38 PM] Show Printable Version of Post    View Member Profile    Send Private Message    Hidden to Guest [Link] Report threatening or abusive post: please login first  Go to top 
Male LSW
Advanced Member
Member's Avatar

USA
Joined: Nov 27, 2003
Post Count: 6285
Status: Offline
Reply to this Post  Reply with Quote 
Re: Website Layouts - 2-col-CSS for helping newbies

settimg colors is in case something does not load to ensure that the text is visible. You can set to transparent if you like. But those are just warnings and not errors so can be ignored.
[Dec 11, 2006 3:34:26 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Male MacRankin
Advanced Member
Member's Avatar


Joined: Dec 18, 2005
Post Count: 368
Status: Offline
Reply to this Post  Reply with Quote 
Re: Standard Website Layouts

I'm having another go at creating a more simplified version of my website, so that I can get to grips with this stuff again.

Anyway, I was wondering; do you contain the whole body in a wrapper, or do you do as I have in the past and create the wrapper just for floating divs beneath the header and nav bar divs?

Also, are there any issues that might crop up as a result of doing either?
----------------------------------------
We Brits do things differently, but we still get shot at!
[Nov 6, 2007 9:28:32 AM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Female NHN
Stranger



USA
Joined: Feb 1, 2008
Post Count: 1
Status: Offline
Reply to this Post  Reply with Quote 
Re: Standard Website Layouts

This is very helpful. What would I change if I had a header image that was larger? Say 275 px high and 775 wide?

Thanks
Colleen
[Feb 1, 2008 1:25:56 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Male shadownexusruler
Stranger




Joined: Mar 15, 2008
Post Count: 1
Status: Offline
Reply to this Post  Reply with Quote 
Re: Standard Website Layouts

if i wanted to may a three column website with header and footer what would the css code be to create a fixed width 3 column website
[Mar 15, 2008 2:14:27 PM] Show Printable Version of Post    View Member Profile    Send Private Message    Hidden to Guest [Link] Report threatening or abusive post: please login first  Go to top 
Posts: 39   Pages: 4   [ Previous Page | 1 2 3 4 | Next Page ]
[ Jump to Last Post ]
Show Printable Version of Thread  Post new Thread