Affiliate Marketing
Forum Search

Reply
 
LinkBack Thread Tools Display Modes

  #1 (permalink)  
Old 25-09-06
renegade's Avatar
Moderator
 
Join Date: Aug 2003
Posts: 3,221
Thanks: 84
Thanked 16 Times in 12 Posts
renegade seems to know their stuffrenegade seems to know their stuff
  CSS positioning - Help!

I've been using CSS for years to handle fonts and styles and am gradually getting to the point where I want to start moving from table layout to CSS positioning.

I'd like to do this in phases and want to replace an exisiting table and CSS navbar with a pure CSS navbar but it's doing my head in.

I have a navbar which works fine and want to add a rounded corner at each end but everything I try - and I've confused myself with quite a few online tutorials already - ends up with the corners above and below the navbar when I want all three elements on one line.

I suspect it's a case of wrong thinking but this old dog is having a tough time learning this new trick, any suggestions gratefully received.
__________________
Joe's CantBarsed Blog | Discount Codes

Last edited by renegade; 25-09-06 at 01:05 PM.. Reason: tyops
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 25-09-06
Paul Wright's Avatar
Fishboy
 
Join Date: Jan 2005
Location: London
Posts: 1,657
Thanks: 5
Thanked 8 Times in 4 Posts
Paul Wright is an unknown quantity at this point
Hi Joe,

Is the navigation a fixed size? If so why not drop the rounded corners in as a background image?

Paul.
__________________
Paul Wright | Affiliate Marketing Director | Mediaedge:cia
e: paul.wright@mecglobal.com | t: 0207 803 2976 | m: 07834 697 130
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 25-09-06
renegade's Avatar
Moderator
 
Join Date: Aug 2003
Posts: 3,221
Thanks: 84
Thanked 16 Times in 12 Posts
renegade seems to know their stuffrenegade seems to know their stuff
Thanks Paul.
It's a fixed width and I did faff around adding the corners as a background image (would have to redo as currently two seperate images) but then I have to suss the best way to padding the first navigation item along.
__________________
Joe's CantBarsed Blog | Discount Codes
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 25-09-06
THiNK's Avatar
Just THiNK about it!
 
Join Date: Apr 2006
Location: Dorset, UK
Posts: 196
Thanks: 0
Thanked 0 Times in 0 Posts
THiNK is an unknown quantity at this point
Sponsored Links
  #5 (permalink)  
Old 25-09-06
Paul Wright's Avatar
Fishboy
 
Join Date: Jan 2005
Location: London
Posts: 1,657
Thanks: 5
Thanked 8 Times in 4 Posts
Paul Wright is an unknown quantity at this point
Quote:
Originally Posted by renegade View Post
but then I have to suss the best way to padding the first navigation item along.
Just nudge it along by using the following:

<div id="fishy"> nav text goes here </div>

Then in your style sheet have something like this:

#fishy {
padding-left: 15px;
background:url(./images/background.gif) no-repeat top left;
}

Cheers
Paul.
__________________
Paul Wright | Affiliate Marketing Director | Mediaedge:cia
e: paul.wright@mecglobal.com | t: 0207 803 2976 | m: 07834 697 130

Last edited by Paul Wright; 25-09-06 at 03:56 PM..
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 26-09-06
accelerator's Avatar
Online shopping rocks!
 
Join Date: Nov 2004
Location: England
Posts: 1,314
Thanks: 8
Thanked 29 Times in 26 Posts
accelerator is an unknown quantity at this point
Also, Nifty Corners:

http://www.html.it/articoli/nifty/index.html
__________________
WebRef.eu - Web Development Resources for the Online Entrepreneur
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 27-09-06
renegade's Avatar
Moderator
 
Join Date: Aug 2003
Posts: 3,221
Thanks: 84
Thanked 16 Times in 12 Posts
renegade seems to know their stuffrenegade seems to know their stuff
Cool, spiffy corners is nice, it's not quite what I wanted but I think I'll redo the navbar to use it because it's so neat.
Thanks for the nudge code Paul.
Nifty corners looks a hack to far for me, but an interesting geek read.
__________________
Joe's CantBarsed Blog | Discount Codes
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
CSS new starter renamecor Widgets, Coding, AJAX, PHP - Technology & Affiliate Marketing 15 11-09-06 10:35 PM
Table formatting with CSS accelerator Widgets, Coding, AJAX, PHP - Technology & Affiliate Marketing 5 14-01-06 01:55 AM
CSS Layouts vcm The Affiliate Marketing Lounge 14 17-11-05 09:19 PM
CSS Image disappears in IE6 Kandevil Widgets, Coding, AJAX, PHP - Technology & Affiliate Marketing 2 03-02-05 06:30 PM
CSS Training Jean Widgets, Coding, AJAX, PHP - Technology & Affiliate Marketing 3 05-01-05 12:27 PM


Affiliate Marketing RSS Feeds - Contact Us - Affiliate Marketing - Archive - Privacy Statement - Top

Content Relevant URLs by vBSEO 3.2.0 RC7