Click here to register.
      
irc://irc.freenode.net#webgui

iPhoneGuy: WebGUI is a pile of crap.
rizen: If WebGUI is such a pile of crap, why do you use it?
iPhoneGuy: Because it's the best pile of crap out there.

If this is what people who hate us are saying, imagine what people who love us will say. Come join us on IRC.


     Discuss > Web Design, Templates, and Themes

CSS tweaks

User troutdream
Date 2/5/2008 3:54 pm
Views 1879
Rating -3    Rate [
|
]
Previous · Next
User Message
troutdream

I'm working on this site:

http://web387.plainblack.net/

And there are a few little layout problems I can't quite iron out. The pale blue box that contains the main content extends outside the right border of the containing white box. It looks different in FF and IE, but it's basically the same problem in both.

I've validated the CSS and HTML. There are a few small issues there to clean up, but nothing that would affect this issue. (the main CSS error concerns a style that is not used in the document at this time)

I'd be very grateful for a peek. I'm making progress with CSS but it's not my native language.

Thanks!

--- (Edited on 2/5/2008 3:54 pm [GMT-0600] by troutdream) ---



Back to Top
Rate [
|
]
 
 
philadev

The problem is the padding attached to the .contentarea div.

Padding is a common problem when attached to container and especially when there are floats involved. You can fix this type of problem by getting rid of the padding and adding a margin to your content. in this case your H2, P and footer div.

You can also wrap the content in a container and add the margin to tuck it all in together. Best to steer clear of padding but definitely do some research into the "Box Model" I suggest the Quirksmode tutorial and other topics. Here's a link:

http://www.quirksmode.org/css/box.html

Also, if you're using Firefox you should definitely install the FireBug plugin for diagnosing these issues it's by far the best thing to happen to front end web development since Firefox. 

http://www.getfirebug.com/

--- (Edited on 2/5/2008 9:16 pm [GMT-0600] by philadev) ---



Back to Top
Rate [
|
]
 
 
troutdream

Thanks for the help!

I kept looking at .contentarea and not seeing it, but finally discovered I had TWO styles with that name.

I got firebug. I've used FF Web Developer addon for some time, but it didn't catch this one. I'll try both for a while.

Thanks again.

 

--- (Edited on 2/6/2008 11:37 am [GMT-0600] by troutdream) ---



Back to Top
Rate [
|
]
 
 
philadev

Anytime. 

Yeah, I guess Firebug is actually the best thing to happen since the Web Developer Toolbar.

Just reread my post, that Quirksmode link was, as you know by now, not to the right article (I need a better system to organize my links). If I find the right article I'll post it. 

--- (Edited on 2/6/2008 12:07 pm [GMT-0600] by philadev) ---



Back to Top
Rate [
|
]
 
 
jmack
Hello Jody,

Nice site you have there!
http://web387.plainblack.net/home/whats-your-scenario/prospective-scenarios

May I ask you, the navigation/menu, did you make it yourself or is it from a free available theme?

This would be a great for our site... If you want you can send me a PM:  JVMACK  "a t"  XS4ALL  "d o t"  NL

Tnx


I'm working on this site:

http://web387.plainblack.net/

And there are a few little layout problems I can't quite iron out. The pale blue box that contains the main content extends outside the right border of the containing white box. It looks different in FF and IE, but it's basically the same problem in both.

I've validated the CSS and HTML. There are a few small issues there to clean up, but nothing that would affect this issue. (the main CSS error concerns a style that is not used in the document at this time)

I'd be very grateful for a peek. I'm making progress with CSS but it's not my native language.

Thanks!

--- (Edited on 2/5/2008 3:54 pm [GMT-0600] by troutdream) ---

--- (Edited on 2/8/2008 2:03 am [GMT-0600] by jmack) ---



Back to Top
Rate [
|
]
 
 
bartjol
It looks like a standard vertical navigation, with altered css

--- (Edited on 2/8/2008 11:10 am [GMT+0100] by bartjol) ---



Back to Top
Rate [
|
]
 
 
troutdream

Thanks!

That's exactly what it is. Feel free to peek at the CSS.

In addition to the CSS you need to make a small change to the VerticalMenu navigation template. Inside the page loop, add div with this class: <div class="buttons-<tmpl_var page.relDepth>">

Jody

--- (Edited on 2/8/2008 9:08 am [GMT-0600] by troutdream) ---



Back to Top
Rate [
|
]
 
 
jigou

Thank you for sharing, Jody! I've shamelessly stolen the concept and put it into use on my site.

So I give at least SOMETHING back to the greater good, when it came time to come up with color scheme for this, I found these two tools that were pretty handy:

1. A tool that lets you interactively create a color scheme based on one color and decide what color theory you'd like to apply, as well as the hue difference you'd like to implement. http://www.december.com/html/spec/colorschemer.html

2. A tool that lets you view colors side-by-side and pick/adjust the colors until you get a scheme you like. You can add or remove columns to get as many colors as you need, and change the order of the colors for viewing. You can also save the settings and create a link to view the colors later. http://www.colorcombos.com/combotester.html

Jarrod

--- (Edited on 2/13/2008 4:18 pm [GMT-0600] by jigou) ---



Back to Top
Rate [
|
]
 
 

Reply to Rogier by perlDreamer - Fri @ 10:55am

OReilly by Albert2 - Fri @ 09:09am

Glad to be here by patspam - Fri @ 01:59am

Re: WRE install on Ubuntu by SteveD - Fri @ 01:56am

Smoketest For nightly_2008-09-05 by Visitor - Fri @ 01:46am

Re: WRE install on Ubuntu by knowmad - Thu @ 07:37pm

Re: New Default Templates: community input by patspam - Thu @ 06:22pm

Re: WebGUI Resending mails by JT - Thu @ 05:27pm

WebGUI Resending mails by arjan - Thu @ 04:55pm

Re: Config File Changes by JT - Thu @ 03:40pm

Re: RSVP function in WebGUI? by knowmad - Thu @ 03:25pm

Re: Config File Changes by knowmad - Thu @ 03:11pm

Re: Config File Changes by JT - Thu @ 02:30pm

RSVP function in WebGUI? by pvanthony - Thu @ 02:13pm