First of all... I'm a complete noob when it comes to web-design, so please bear with me! I'm trying to create a header where the title is continued by an “}†with different formatting from the text preceding it. <html> <head> <style type="text/css"> li.header { color:black; font-size: 2em; font-family: georgia, serif; font-style:bold; font-style:italic; list-style-type:none; margin:0; padding:0; float:left; } li.klamme { color:green; font-size: 3em; font-family: georgia, serif; font-style:bold; list-style-type:none; margin:0; padding:0; float:left; } </style> </head> <body> <ul> <li class="header">Title</li> <li class="klamme">}</li> </ul> </body> </html> Code (markup): In this example the position of the squiggly bracket after the title doesn't match the baseline of the title. What am I doing wrong? I've tried out a few different approaches but none work.
Another question: Is there a simple way of creating asymmetrical space between elements in the same <ul>, other than inserting many   (There would be three classes of <li> here, one for the title, another one for the “}â€, and one for the links) As in the example below: TITLE } ___a_ blank_space_here____ Link1 Link2 Link3 Simply applying "float:right" to the class of <li>where the links are inserted, won't float them to the right. The Css for the links are: li.header_link { font-size: 0.6em; font-family: arial, sans-serif; letter-spacing:2.15px; list-style-type:none; margin:0; padding:0; float:right; } Code (markup): The code is still identical to the one in post #1, the only difference is that I've also followed the suggestion of bli_wedhooz, and also added links: <li class="header_link"> url...etc, etc </li>
I found a way to do this. I added "margin-left:25em;" to the link section in the CSS. I'm still open to other approaches, though.