main site

that's punk

scene love & unity forever!
It is currently Wed Sep 08, 2010 11:19 pm

All times are UTC + 1 hour




Post new topic Reply to topic  [ 8 posts ] 
Author Message
 Post subject: Some bad coding!
PostPosted: Fri Mar 26, 2010 5:25 pm 
Offline
User avatar

Joined: Sat Jan 02, 2010 10:49 pm
Posts: 46
Location: Trondheim, Norway
The text on the right side is outside the inside border. You see it clearly here. And its not because I'm running badass low-res. Its a normal setup. I guess its the main-text in the middle occupying way to much space so the menu on the rightside decides to jump outside!

So short-words. Its all over, the mainwords take to much space and need to be restricted, or the text on the right side need to be told "stay inside the border or else I will slap you in the face!"


Image

_________________
Why would I trade my skateboard for your working life?


Top
 Profile  
Reply with quote  
 Post subject: Re: Some bad coding!
PostPosted: Fri Mar 26, 2010 7:00 pm 
Offline
king of the punk
User avatar

Joined: Thu Oct 15, 2009 2:51 pm
Posts: 375
Location: Norway
get a better resolution.


















j/k. I will attempt fix #2, because that is the more sane one. I will look into it. I am aware of the problem, and have been for a long time. I just pretended that it wasn't there, and crossed my fingers that no one would find it. :(

j/k. I will fix it. thanks for reporting.

_________________
no big deal.


Top
 Profile  
Reply with quote  
 Post subject: Re: Some bad coding!
PostPosted: Fri Mar 26, 2010 7:53 pm 
Offline
king of the punk
User avatar

Joined: Thu Oct 15, 2009 2:51 pm
Posts: 375
Location: Norway
I fixed it... but the fix kind of sucks. I'll have to investigate some way of making the content auto-expand according to resolution and so forth, I think. what happens now if you have a really low resolution, or are browsing in a non-maximised browser, is that it will move the categories etc. down to the bottom right corner of the blog. that is *not* an optimal solution. let me know if you stumble across something sensible before I do. thanks again.

_________________
no big deal.


Top
 Profile  
Reply with quote  
 Post subject: Re: Some bad coding!
PostPosted: Fri Mar 26, 2010 7:56 pm 
Offline
User avatar

Joined: Sat Jan 02, 2010 10:49 pm
Posts: 46
Location: Trondheim, Norway
Think I have to play with the code myself to make some sens of it. Its all about math I guess, give each section enough % and will often be fine just fine.

You could post some code here and I have a looksie!

You are playing with position, float and so on? And width! Give width in % and you will be awwwlrait!

_________________
Why would I trade my skateboard for your working life?


Top
 Profile  
Reply with quote  
 Post subject: Re: Some bad coding!
PostPosted: Fri Mar 26, 2010 8:31 pm 
Offline
king of the punk
User avatar

Joined: Thu Oct 15, 2009 2:51 pm
Posts: 375
Location: Norway
I hope this is sufficient:

alexander@lolwabbit ~ $ dpaste thatspunk/blog/wp-content/themes/aav1/style.css
Your paste can be seen here: http://dpaste.com/176513/
alexander@lolwabbit ~ $ dpaste thatspunk/blog/wp-content/themes/aav1/sidebar.php
Your paste can be seen here: http://dpaste.com/176514/



look particularly at #rap, #sidebar and #content.

_________________
no big deal.


Top
 Profile  
Reply with quote  
 Post subject: Re: Some bad coding!
PostPosted: Sat Mar 27, 2010 1:03 am 
Offline
User avatar

Joined: Sat Jan 02, 2010 10:49 pm
Posts: 46
Location: Trondheim, Norway
Hehe looking at this it reminds me its way to long between everytime I work with these kinda things.

Some thoughts:

The first thing I see is a happy mix between relative and absolute sizes. Thats a big "no-no". You should do either, not both. That will F things up. I see on some places the width is specified in px for the sidebar. So clean that up! And for text, try to use relative sizes, either % or small, large, normal/medium (not sure) and so on. Its a lot more flexible for different browsers and resolutions. This should be no problem! The dictatorship of a webmaster telling their users what text-size and not make it relative to the browser and resolution is A-hole-webmaster!

You should also consider using position: fixed/relative/absolute or something. Can't remember, but it might help to place things.

Easy fix could be giving content only 75% space. It could be enough for the menu. But maybe to little for the menu?

_________________
Why would I trade my skateboard for your working life?


Top
 Profile  
Reply with quote  
 Post subject: Re: Some bad coding!
PostPosted: Sat Mar 27, 2010 8:28 am 
Offline
king of the punk
User avatar

Joined: Thu Oct 15, 2009 2:51 pm
Posts: 375
Location: Norway
hi,

yeah the sidebar thing... I kind of nicked it off someone else's stylesheet along with some other things, LOL. I must have forgot to change some things to relative sizes. I will try to clean that up soon-ish. going on a bus for four hours or something now, so... but thanks.

_________________
no big deal.


Top
 Profile  
Reply with quote  
 Post subject: Re: Some bad coding!
PostPosted: Sat Apr 03, 2010 1:27 am 
Offline
User avatar

Joined: Sat Jan 02, 2010 10:49 pm
Posts: 46
Location: Trondheim, Norway
Atleast it looks good now. Great work dude! Keep it up!!

_________________
Why would I trade my skateboard for your working life?


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 8 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group