Originally posted by adam warlock
As you can see my blog http://physicsfromthebottomup.blogspot.com/ uses a lot of mathematical equations.Some of them were so big that I had to resize the font size in the posts to 11px in order to have mathematical equations fitting in the post area.
The thing is that this way the fonts are just to small. I know that with css I can expand the post ar ...[text shortened]... st direct me at some site that teaches the css code that I need in order to do what I described?
You can use the "float" property to place your sidebar left or right. For example, if you want your sidebar to be on the left of your page, use this syntax:
Before you use the float property, you must select what you want float. If you want a paragraph to float left, you'd write the code this way:
If you choose to float your sidebar the way I just described, make sure to wrap the HTML for the sidebar in paragraph tags:
I just used "sidebar" as an example, but it's the paragraph tags that are important.
If you choose to wrap your sidebar in paragraph tags, then in CSS, make sure you select the correct paragraph, if you have more than one pair of paragraph tags on your page. To do this, give the paragraph an ID like this:
You can call the ID anything you want, it doesn't have to be "sidebar". Just make sure no other HTML element has an ID with that same name (and the ID can't start with a number, or have spaces). Once you've given an element (like a paragraph) an ID, you can select that element in CSS using the pound [#] symbol, like this:
Finally, in your HTML, make sure that whatever you want to float (in this case, the sidebar) comes before whatever you want it to float next to.
More on floating here: