this is getting right up my bum! damn lists!

This is a discussion on "this is getting right up my bum! damn lists!" within the Web Page Design section. This forum, and the thread "this is getting right up my bum! damn lists! are both part of the Design Your Website category.



Go Back   Webforumz.com > Main Forums > Design Your Website > Web Page Design

Notices


Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old Jul 18th, 2007, 13:03
Highly Reputable Member
Join Date: Jul 2005
Location: Northampton, England
Age: 19
Posts: 506
Thanks: 0
Thanked 0 Times in 0 Posts
this is getting right up my bum! damn lists!

ok take a look at this www.bruno89.co.uk/thefreeway/ im FF it looks how i want it BUT! iv cheated ! i used <br /> to get them down... but then in IE6 its not working! can anyone tell me whats rong??

you will see if u look at it in IE6
Reply With Quote

  #2 (permalink)  
Old Jul 18th, 2007, 13:16
karinne's Avatar
SuperMember

SuperMember
Join Date: Jan 2007
Location: You know where
Age: 31
Posts: 4,617
Thanks: 0
Thanked 0 Times in 0 Posts
Re: this is getting right up my bum! damn lists!

What if you add

Code: Select all
#list ul li {

    clear: both;

}
?
Reply With Quote
  #3 (permalink)  
Old Jul 18th, 2007, 13:41
Highly Reputable Member
Join Date: Jul 2005
Location: Northampton, England
Age: 19
Posts: 506
Thanks: 0
Thanked 0 Times in 0 Posts
Re: this is getting right up my bum! damn lists!

i tryed that and it moved the hole thing to the bottom of the page
Reply With Quote
  #4 (permalink)  
Old Jul 18th, 2007, 13:49
Highly Reputable Member
Join Date: Jul 2005
Location: Northampton, England
Age: 19
Posts: 506
Thanks: 0
Thanked 0 Times in 0 Posts
Re: this is getting right up my bum! damn lists!

ok i fixed it but is this right ?

Code: Select all
<div id="list">

            <ul>
                <li><img src="tutimg/timemessage/time_thumb.gif"><a href="timedmessage.html" title=" How To Put Timed Messages Into Your Web Site">Timed Messages</a><br />
This tutorial show you how to make timed messages for your website.<br />
This tutorial was created by <a href="#" title="Website Not Provided">Alex Crichton-Stuart</a></li><br />
            </ul><br />

            <ul>
                <li><img src="tutimg/alpha/alpha_thumb.gif"><a href="alphatransparency.html" title="How To Use Alpha Transparency">Alpha Transparency</a><br />
this tutorial show you how to use alpha transparensy in flash8.<br />
this tutorial was created by <a href="http://www.jacobhaug.com">Jacob Haug</a></li><br />
            </ul><br />

            <ul>    
                <li><img src="tutimg/basicheader/header_thumb.gif"><a href="basicheader.html">Basic Header</a><br />
this tutorial show you how to make a basic yet attractive header for your website using photoshop.<br />
This tutorial was created by <a href="#" title="Website Not Provided">Alex Crichton-Stuart</a></li>
            </ul>
            </div>
Reply With Quote
  #5 (permalink)  
Old Jul 19th, 2007, 16:10
New Member
Join Date: Jul 2007
Location: Stockton
Age: 25
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Re: this is getting right up my bum! damn lists!

Hey hey,

Getting stuff looking the same in Firefox and IE is hard.

Its all about the margins and padding tho... FF and IE represent them differently. My trick is to use all of the following which gives you complete control.

margin:0px;
padding-left:0px;
padding-right:0px;
padding-bottom:0px;
padding-top:0px;

Setting everything to 0px should put an item in the same position in both browsers, so just adjust the settings until you get the desired position.

Hope this helps.

Last edited by stuarttodd; Jul 19th, 2007 at 16:15.
Reply With Quote
  #6 (permalink)  
Old Jul 19th, 2007, 16:14
Highly Reputable Member
Join Date: Jul 2005
Location: Northampton, England
Age: 19
Posts: 506
Thanks: 0
Thanked 0 Times in 0 Posts
Re: this is getting right up my bum! damn lists!

ok thanks
Reply With Quote
  #7 (permalink)  
Old Jul 19th, 2007, 17:00
SuperMember

SuperMember
Join Date: May 2006
Location: North West, UK
Age: 22
Posts: 1,173
Thanks: 0
Thanked 0 Times in 0 Posts
Re: this is getting right up my bum! damn lists!

Shouldn't li's by default stack rather than float alongside each other? Check to make sure that float left isn't applied to the uls.

You really shouldn't be using <br>'s for that. You can just use css. But the titles should be hx (whichever one comes next) which are block level and will go on their own line, so no need for a br there.

Pete.
Reply With Quote
  #8 (permalink)  
Old Jul 19th, 2007, 17:02
Highly Reputable Member
Join Date: Jul 2005
Location: Northampton, England
Age: 19
Posts: 506
Thanks: 0
Thanked 0 Times in 0 Posts
Re: this is getting right up my bum! damn lists!

i dun get what u mean :S im thick you know that
Reply With Quote
  #9 (permalink)  
Old Jul 19th, 2007, 17:13
SuperMember

SuperMember
Join Date: May 2006
Location: North West, UK
Age: 22
Posts: 1,173
Thanks: 0
Thanked 0 Times in 0 Posts
Re: this is getting right up my bum! damn lists!

I'll have a look and explain again.

One sec.

Pete.
Reply With Quote
  #10 (permalink)  
Old Jul 19th, 2007, 17:49
SuperMember

SuperMember
Join Date: May 2006
Location: North West, UK
Age: 22
Posts: 1,173
Thanks: 0
Thanked 0 Times in 0 Posts
Re: this is getting right up my bum! damn lists!

It's doing strange things. That margin-left on the #conetent div is what is causing the problem with those images. Float the content div right and then remove the br's and see what happens when you float the images left. Its still doing some strange things for me but it better than it was.

Try that and tell me what happens.

Pete.
Reply With Quote
  #11 (permalink)  
Old Jul 19th, 2007, 19:42
Highly Reputable Member
Join Date: Jul 2005
Location: Northampton, England
Age: 19
Posts: 506
Thanks: 0
Thanked 0 Times in 0 Posts
Re: this is getting right up my bum! damn lists!

ok that worked fine for that page but on the other pages it just messed them up completely.. any other ideas?
Reply With Quote
  #12 (permalink)  
Old Jul 19th, 2007, 23:52
Junior Member
Join Date: May 2007
Location: Dagenham, UK
Age: 25
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Re: this is getting right up my bum! damn lists!

Sorry to be kind of off topic but this idea is fantastic. Thanks for suggesting it.

Quote:
Originally Posted by stuarttodd View Post
Its all about the margins and padding tho... FF and IE represent them differently. My trick is to use all of the following which gives you complete control.

margin:0px;
padding-left:0px;
padding-right:0px;
padding-bottom:0px;
padding-top:0px;

Setting everything to 0px should put an item in the same position in both browsers, so just adjust the settings until you get the desired position.
Reply With Quote
  #13 (permalink)  
Old Jul 22nd, 2007, 22:14
SuperMember

SuperMember
Join Date: May 2007
Location: UK
Age: 27
Posts: 1,111
Thanks: 0
Thanked 0 Times in 0 Posts
Re: this is getting right up my bum! damn lists!

Quote:
Originally Posted by stuarttodd View Post
margin:0px;
padding-left:0px;
padding-right:0px;
padding-bottom:0px;
padding-top:0px;
You can write the same thing more efficiently as:

margin: 0;
padding: 0;
Reply With Quote
Reply

Tags
lists

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
CSS lists PicoDeath Web Page Design 7 Feb 26th, 2008 23:37
Dropdown lists psrujan JavaScript Forum 1 Jun 30th, 2007 22:37
Lists? PicoDeath Web Page Design 2 Dec 2nd, 2006 22:43
Need help with my lists csa Web Page Design 1 Dec 1st, 2005 15:02
why do you flicker damn you! benbramz Web Page Design 8 Sep 9th, 2005 05:54


All times are GMT. The time now is 14:59.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43