- This topic is empty.
Viewing 7 posts - 1 through 7 (of 7 total)
Viewing 7 posts - 1 through 7 (of 7 total)
- The forum ‘CSS’ is closed to new topics and replies.
The forums ran from 2008-2020 and are now closed and viewable here as an archive.
I want to place a search form to the right of the site title (like in twentyeleven theme), but it seems to be tucked under that site title. I was able to replicate the condition in this fiddle (http://jsfiddle.net/LqkHk/), but I couldn’t figure out why there seem to be an invisible box holding the content of the entire header.
Not an expert. And there’s a lot of code there… but shouldn’t the form html come before the headline if you want the form to float to the right of it?
Just absolutely position it.
Just one more thing. I’ve updated the fiddle using relative positioning to push the search form to the right, but I wish to change the button for search form using an image. I tried to use the background attribute to lead to the image, but not only did it not show up, the search button is also pushed to the next row (instead of being on the same row as the search form).
Angela
Here is the fiddle: http://jsfiddle.net/LqkHk/2/
Well, it’s not only about the image, but the positioning of the image as well. I have no idea why the image is not showing up, because all my previous images from Flickr would show.
The search button is still being pushed to the next row. I tried to specify an exact width with “width: 150px”, but the button is still down there instead of being on the same row as search box. http://jsfiddle.net/LqkHk/3/
Angela
anyone?