force 2 objects to sit side by side in top bar
-
What I want to do is simple; have an advertisement sit right next to my logo image on the bar at the top of my blog (rather than automatically break the line and sit below it, which is what it wants to do.)
I was able to hack up the header.php file of my templete with some simple table tags and get it to work, but it looks terrible right now ..of course. Table tags are obviously defined in the temple’s CSS, but these definitions don’t look good when a table is inside the top bar. Take a look at how it looks now, with a border and unneeded space around table cells: https://www.socalsecrets.com/
One route would be to make the table invisible just inside the top bar (get rid of the border and spaces between, around, and inside cells), but I have no idea how to do this. I think an easier and better option would be to dump my archaic table tags altogether and just add some sort of code that forces those 2 objects to stay on the same line, like some sort of “nowrap” command, but I don’t know how to do that easier. Is there an easy way to add some sort of “nowrap” command to the header.php file?
If you have an idea, please also explain to me exactly what code needs to be added and where, as I am clearly new to all this and have no idea what I’m doing. Thanks.
- The topic ‘force 2 objects to sit side by side in top bar’ is closed to new replies.