CSS
-Tricks
treehouse :
what would you like to learn today?
Web Design
Web Development
iOS Development
Show search box
Search
Search in:
All
Articles
Forums
Snippets
Videos
✕
Home
Forums
Snippets
Gallery
Videos
Almanac
Demos
Lodge
Navigation 'n' Search
Forums
Illustration by Nick Sirotich
Forums
»
CSS Combat
[Solved] Alignment of buttons on homepage
burtflaxton
Permalink to comment
#
August 2010
Hey guys,
I am having trouble aligning the "clear" & "search" link/button on my homepage. Performance Truck Products
Ideally I would like to have them aligned so they sit on the same horizontal line of the drilldown selection menu as pictured below.
http://i.imgur.com/HL7xP.jpg
Any help is much appreciated!
limenet
Permalink to comment
#
August 2010
a quick-and-dirty fix would be the following
display:inline;
float:right;
padding-left:10px;
position:absolute;
applied on the surrounding div (of the "buttons")
It's only "tested" on Firefox 4b3
burtflaxton
Permalink to comment
#
August 2010
Thank you, worked perfectly!
madmanstudios
Permalink to comment
#
August 2010
In both Firefox and Chrome your search button is still protruding out of the grey and into the red area.
Add a Comment
I am having trouble aligning the "clear" & "search" link/button on my homepage. Performance Truck Products
Ideally I would like to have them aligned so they sit on the same horizontal line of the drilldown selection menu as pictured below.
http://i.imgur.com/HL7xP.jpg
Any help is much appreciated!
applied on the surrounding div (of the "buttons")
It's only "tested" on Firefox 4b3