Topic Bar stretches out of line ~ at Runboard.com


Temple of Illusia
 »  Illustrated Secrets of Design .
 »  »  Topic Bar stretches out of line

SupportSearch Illusia

   Runboard       

Jump to Page:  1  2  3  4 

 
The Wizard3
Citizen
Worldly Traveler

Registered: 06-2006
Province: Castle Belgalor
Posts: 20
Karma: 0 (+2/-2)
Avatar
Reply | Quote
Topic Bar stretches out of line


Hi LG

I'm helping Queeny with her board as she wanted a Sidebar added, this I have done with an easy one I use. The code for it is correct (unless you find something in it)

The only problem I have now is that some topics when clicked it stretches the forum way too wide

Like this >> Link 1: http://www.runboard.com/bqueenysobsessions.f10

What she and I would like to have each time a topic is viewed is this size
Link 2: http://www.runboard.com/bqueenysobsessions.f2

I have been granted admin status over at her board but I can not find any code that will stop these topics going wide or to keep them all the same size as Link 2

I do not know who placed the original CSS code there but to me some codes are not required.

I am back from my holidays now and now back to work so I don't have much time this weekend to really get stuck into it and find a solution.

If you have some spare time could you assist us please

Wiz

---
Image

Image

4/19/2008, 6:12 am PM The Wizard3 MSN Yahoo
 
Lesigner Girl
Minerva
Worldly Traveler (premium)
Runboard staff member

Registered: 11-2005
Province: SW MI, USA
Posts: 5127
Karma: 89 (+103/-14)
Avatar
Reply | Quote
Re: Topic Bar stretches out of line


Other than making the font size smaller, the only way to fix that is to edit the subject line that has this in it:

DOWNTIMES....IMPORTANT....PLEASE

It's that line without spaces that's stretching the page.

If you or Queeny would like, I could look at the code for other things, but I only needed to look at the page itself to see the cause of this problem. emoticon

---
Image
Customization tutorials & Q&A
4/19/2008, 8:55 pm PM Lesigner Girl Read Blog
 
The Wizard3
Citizen
Worldly Traveler

Registered: 06-2006
Province: Castle Belgalor
Posts: 20
Karma: 0 (+2/-2)
Avatar
Reply | Quote
Re: Topic Bar stretches out of line


Thanks LG, I've left a message for Queeny to have a look through her topic name titles and see if they can be reduced.

I know the font is a little large but Queeny I think prefers it this size as its easier for her to read.

You can ask her that you would like to look at the codes.

Thanks again for your time

Wiz

---
Image

Image

4/20/2008, 7:26 am PM The Wizard3 MSN Yahoo
 
Queenyforever
Citizen
Worldly Traveler (premium)

Registered: 01-2007
Posts: 273
Karma: 7 (+7/-0)
Avatar
Reply | Quote
Re: Topic Bar stretches out of line


I'm going to just admin you LG....I've trusted you many times before....this makes it easier.
So as soon as I get done here I'll go admin you.
As you can see, I'm running around this weekend like a chicken with my head cut off....busy, busy, busy..
Thank you all so much for your help...
**HUGS***

---
Image
Image
4/20/2008, 9:06 am PM Queenyforever
 
Lesigner Girl
Minerva
Worldly Traveler (premium)
Runboard staff member

Registered: 11-2005
Province: SW MI, USA
Posts: 5127
Karma: 89 (+103/-14)
Avatar
Reply | Quote
Re: Topic Bar stretches out of line


You're both very welcome. emoticon

You don't need to admin me, Queeny. Being a global admin already gives me that power. emoticon



---
Image
Customization tutorials & Q&A
4/20/2008, 3:34 pm PM Lesigner Girl Read Blog
 
Lesigner Girl
Minerva
Worldly Traveler (premium)
Runboard staff member

Registered: 11-2005
Province: SW MI, USA
Posts: 5127
Karma: 89 (+103/-14)
Avatar
Reply | Quote
Re: Topic Bar stretches out of line


The current design doesn't account for different screen resolutions, plus it uses tables. I recoded the page offline, then uploaded screen grabs so you can see the difference:

click here

Since my graphics card can't handle a resolution larger than 1024px on my LCD, I used Opera's zoom feature to simulate a larger resolution by zooming out.

I want to wait for your approval after seeing the screen grabs before making the major overhaul, but I did make a few coding tweaks in the meantime. For example, I found this in the CSS:

.sidebox h2; font-size: 20px;
margin: 1px; height: 20px; text-align: center; border: 1px solid #FFFFFF;}

I changed the ; above to a { as it should have been.

I also removed some of the HTML styling and put it in the CSS, such a the marquee font and vertical alignment of the sidebar and main sections. Wizard, you said some of the CSS didn't need to be there, but it's really the HTML styling that needs to go, because styling doesn't belong in the HTML.

Queeny, let me know if you like the screen grabs and I'll transfer the code from my offline copy to your board. emoticon Moving the banner to the right was just a suggestion so it doesn't cover up the face in the wallpaper, but I'll be happy to center it if you prefer. emoticon

---
Image
Customization tutorials & Q&A
4/20/2008, 5:37 pm PM Lesigner Girl Read Blog
 
The Wizard3
Citizen
Worldly Traveler

Registered: 06-2006
Province: Castle Belgalor
Posts: 20
Karma: 0 (+2/-2)
Avatar
Reply | Quote
Re: Topic Bar stretches out of line


Looks good to me LG and thanks for doing this, CSS is not my strongest subject as you know due to past experiences but am still learning thanks to your expertise in this field.

Wiz emoticon

---
Image

Image

4/20/2008, 6:19 pm PM The Wizard3 MSN Yahoo
 
Lesigner Girl
Minerva
Worldly Traveler (premium)
Runboard staff member

Registered: 11-2005
Province: SW MI, USA
Posts: 5127
Karma: 89 (+103/-14)
Avatar
Reply | Quote
Re: Topic Bar stretches out of line


You're welcome, Wizard. emoticon Don't ever hesitate to ask questions! emoticon

---
Image
Customization tutorials & Q&A
4/20/2008, 7:35 pm PM Lesigner Girl Read Blog
 
Queenyforever
Citizen
Worldly Traveler (premium)

Registered: 01-2007
Posts: 273
Karma: 7 (+7/-0)
Avatar
Reply | Quote
Re: Topic Bar stretches out of line


WOW!! He Wiz, if you think CSS is not your strong point, how do you think I feel! emoticon
I think I still like the banner centered. Only because I want to be able to just change my skin and banner at will, WITHOUT having to ask for help.
And if it's not in the center, then next time, I'll be all messed up again.... emoticon
Again.....you are simply a darlin' woman LG! emoticon
And Wiz..thank you for all the help....I just love the links on the side..... emoticon

---
Image
Image
4/21/2008, 11:06 am PM Queenyforever
 
Lesigner Girl
Minerva
Worldly Traveler (premium)
Runboard staff member

Registered: 11-2005
Province: SW MI, USA
Posts: 5127
Karma: 89 (+103/-14)
Avatar
Reply | Quote
Re: Topic Bar stretches out of line


Queeny, click on the link again and look at the 2nd screen shot. See how it's light green below the page's background pic? In order to fix that and make it look like the 4th screen grab listed on that page, I had to take the background image out of the layout/colors, create a container div around the whole board with that image as the container's background, then take the banner out of the layout/colors page and put it into the HTML.

With it done this way, centering or right-aligning is easy through the CSS. The code that I used in this case is:

#header { text-align: right; margin: 0 10px; }

To center, just change the text-align to center

The background image would no longer be the background of the page as I said, but instead it would be the background of the div that contains everything. The CSS I have for that is this:

#container {
  margin: 0 auto;
  position: relative;
  width:99%;
  min-width: 1000px;
  max-width: 1124px;
  background: #02040b url(http://img.photobucket.com/albums/v38/overthehillfan/RUNBOARD/LOTRQOsizedEvanstar.jpg) center top no-repeat;
}


The only things you would have to change there are the parts in bold. The hex code should blend in with the bottom of your background image, which is the whole point of creating the container and putting the background image into that instead of into the page itself.

The HTML for the div that contains the banner is this:

<div id="header">
<a href="/bqueenysobsessions"><img alt="Queeny's Obsessions" src="http://img.photobucket.com/albums/v38/overthehillfan/RUNBOARD/Banners/GNBanner1.jpg" /></a>
</div><!-- end header -->


The only part you would have to change there is the url to your image, which is all you really do in the layout/colors screen anyway, and you wouldn't even have to worry about defining the width and height.

If you find this confusing, I'd be happy to walk you through these changes in the future until it sticks. emoticon Otherwise we can leave it as is and let people with larger screen resolutions see the drastic change in color below the background image. emoticon

Would you like me to set this code up on a test board and let you play with it before you decide? emoticon

---
Image
Customization tutorials & Q&A
4/21/2008, 8:00 pm PM Lesigner Girl Read Blog
 


Add to this discussion

Jump to Page:  1  2  3  4 




Powered by AkBBS 0.9.5b  -  Link to us   -  Blogs   -  Hall of Honour   -  Chat
Click here to get your own free message board
You are not logged in (login)      Board's time is: 12/1/2008, 6:59 pm EDT