Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

CSS Forum


You are currently viewing our CSS Forum as a guest. Please register to participate.
Login



Reply
Can't get this table right
Old 08-18-2008, 06:19 AM Can't get this table right
Ultra Talker

Posts: 254
Name: Daniel Mousdell
Trades: 0
Its me again

Anyway I have been trying to get this css code right, but I just don't understand it.

If you go on www.lilwaynehq.com and at the bottom you will see a Latest News table.

Well this is how I want the table to look like:



I have tried adding the links in a <li> with a padding-bottom and a line-height, but no luck

Then I placed "Subscribe to the Lil Wayne Latest News" in a <p> with a float: left and then made a span for "News Archive" called: newsa and had float: right in it, but still no luck with that

Anyone know how I could get the table on my website to look like the one above

Thanks so much and if you want the code, I will post it
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
Danaldinho is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 08-18-2008, 08:52 AM Re: Can't get this table right
bas
Super Talker

Posts: 108
Name: Bas
Trades: 0
Give the li-elements a height or use padding-bottom inside the a-elements. That should work.
bas is offline
Reply With Quote
View Public Profile
 
Old 08-18-2008, 09:42 AM Re: Can't get this table right
Ultra Talker

Posts: 254
Name: Daniel Mousdell
Trades: 0
Nope, I tried both of them, but no luck mate
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
Danaldinho is offline
Reply With Quote
View Public Profile
 
Old 08-18-2008, 10:15 AM Re: Can't get this table right
Ultra Talker

Posts: 254
Name: Daniel Mousdell
Trades: 0
Another thing aswell, why wont the lines start on a new line as I am using the <li> tag?
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
Danaldinho is offline
Reply With Quote
View Public Profile
 
Old 08-18-2008, 01:30 PM Re: Can't get this table right
bas
Super Talker

Posts: 108
Name: Bas
Trades: 0
Remove "display:inline;" inside of .oclRow2 li

Thats why height etc didn't work and it's the answerd on your second question.
bas is offline
Reply With Quote
View Public Profile
 
Old 08-18-2008, 08:26 PM Re: Can't get this table right
serandfae's Avatar
Do the "Evil Nanner" !!!

Posts: 8,936
Name: Tim Daily
Location: Apex, NC, US, Sol 3
Trades: 0
Also make sure that the floated element (ie, the news archive) is listed first, then clear the float after that line.

tim
__________________
SEO "experts" smell like Big Fish_|_
Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

serandfae is offline
Reply With Quote
View Public Profile Visit serandfae's homepage!
 
Old 08-19-2008, 02:36 PM Re: Can't get this table right
Ultra Talker

Posts: 254
Name: Daniel Mousdell
Trades: 0
Ok thanks, one last problem

Why wont the "News Archive" float to the right?
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
Danaldinho is offline
Reply With Quote
View Public Profile
 
Old 08-19-2008, 02:58 PM Re: Can't get this table right
bas
Super Talker

Posts: 108
Name: Bas
Trades: 0
Quote:
Originally Posted by Danaldinho View Post
Ok thanks, one last problem

Why wont the "News Archive" float to the right?
just define a width for the parent p-element, for example try width:100%;
HTML Code:
.newsap {
width:100%;
}

<p class="newsap">&raquo; <a href="http://feeds.feedburner.com/lilwaynehq" title="Lil Wayne Feedburner">Subscribe to the Lil Wayne Latest News</a> <span class="newsa">&raquo; <a  href="/news/" title="Lil Wayne News">News Archive</a></span></p>

Last edited by bas; 08-19-2008 at 02:59 PM..
bas is offline
Reply With Quote
View Public Profile
 
Old 08-19-2008, 07:45 PM Re: Can't get this table right
serandfae's Avatar
Do the "Evil Nanner" !!!

Posts: 8,936
Name: Tim Daily
Location: Apex, NC, US, Sol 3
Trades: 0
If you're floating the news archive right, put it ahead of the latest news in the HTML. The latest news will then go to the left. Clear the float after the latest news.

Check the RevenuePilot script tag; it's showing a warning.

tim
__________________
SEO "experts" smell like Big Fish_|_
Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE


Last edited by serandfae; 08-19-2008 at 07:52 PM..
serandfae is offline
Reply With Quote
View Public Profile Visit serandfae's homepage!
 
Old 08-20-2008, 06:19 AM Re: Can't get this table right
Ultra Talker

Posts: 254
Name: Daniel Mousdell
Trades: 0
Quote:
Originally Posted by serandfae View Post
If you're floating the news archive right, put it ahead of the latest news in the HTML. The latest news will then go to the left. Clear the float after the latest news.

Check the RevenuePilot script tag; it's showing a warning.

tim
Thanks, its working good now, also what you mean about the RevenuePilot.com ad, its working fine

What error you getting?
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
Danaldinho is offline
Reply With Quote
View Public Profile
 
Old 08-20-2008, 08:04 AM Re: Can't get this table right
serandfae's Avatar
Do the "Evil Nanner" !!!

Posts: 8,936
Name: Tim Daily
Location: Apex, NC, US, Sol 3
Trades: 0
The warning was an "escaping" URI called by the script tag, which can be caused by a space, other disallowed character or failing to close it, like leaving one of the opening or closing quotes out.

tim
__________________
SEO "experts" smell like Big Fish_|_
Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

serandfae is offline
Reply With Quote
View Public Profile Visit serandfae's homepage!
 
Old 08-20-2008, 08:08 AM Re: Can't get this table right
Ultra Talker

Posts: 254
Name: Daniel Mousdell
Trades: 0
hmm, do you know how to fix it

I looked at the code and it looks correct and even in firebug it looks ok
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
Danaldinho is offline
Reply With Quote
View Public Profile
 
Old 08-20-2008, 10:38 AM Re: Can't get this table right
serandfae's Avatar
Do the "Evil Nanner" !!!

Posts: 8,936
Name: Tim Daily
Location: Apex, NC, US, Sol 3
Trades: 0
It showed up on the HTML Validator extension, but I cross-referenced it and it didn't trip any errors. Oh, well, no tool is perfect. Glad you got the menu straight.

tim
__________________
SEO "experts" smell like Big Fish_|_
Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

serandfae is offline
Reply With Quote
View Public Profile Visit serandfae's homepage!
 
Old 08-20-2008, 12:16 PM Re: Can't get this table right
Ultra Talker

Posts: 254
Name: Daniel Mousdell
Trades: 0
Thanks mate and thanks for your help
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
Danaldinho is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Can't get this table right
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.38062 seconds with 12 queries