I just realized i posted this in the html forum when it should be in the css forum.
Hello all,
I am a beginner with css and have some questions. If you look at the following page you can follow along with what I am trying to do.
http://www.youngamericangrowers.com/...der_search.asp
I have also attached an image (i think) of what I want this page to look like. Last night I got frustrated with div tags and decided to layout it out with tables. This morning I woke up and felt ugly for doing that so now I am attempting to convert it back to div tags.
I have a couple of issues right now.
#1. IN the Search for Plant section at the top I cannot figure out how to get the green arrow button to align vertically in the middle. I have tried putting a padding-top on the image itself but the pushes the entire line down instead of just the image.
#2 I need the advanced search list and current price links to align all the way to the right. I have tried to put a div within the main div that has a float right property on it but it pushes it to the next line. I then tried adding a diplay: inline property but that had no effect.
#3 After looking at the image do you think it is a wise idea to do this plant list/search page with div's or should I consider going to tables. I would prefer to do div's if it is possible.
Below is the code for the search section. I realize there are probably some css faux pas but let me know I what I am doing wrong.
Thank you.
<div style="padding-top:5px; padding-bottom:5px; position:relative;"><div class="boldText1" style="display:inline; padding-right:8px;">Search for Plants</div><input type="text" size="25" maxlength="50" id="search" name="search"><img src="../../../../_inc/images/btnSearchEnter.gif" style="display:inline; padding-left:3px;" alt="Search"><span class="searchLink" style="display:inline; padding-left:20px;">Advanced Search | Current Price List</span></div>
|