Cascading Style Sheets

IE 8, language navigation not align to the right

Hi everyone,
I'm trying to build a common language navigation bar on the right coner of a webpage, however the following code always align in the centre in IE8. Could anyone tell me how to resolve the problem please?

Please see my CSS code below:

CSS:
.nav0 {
width:150px;
height:20px;
position:absolute;
z-index:2;
margin-top:40px;
margin-bottom:40px;
margin-right:6px;
margin-left:805px;
overflow:visible !important /*Firefox*/;
overflow:hidden /*IE6*/;
}

Many thanks,
Cat

how to center 2050x768 image in to 1024x768 res ?

i have image 2050x768 size and i want, that page with this image will open in center of 1024x768 res and i can slide to left or right side.

i make it img not background because i need click on some area

html :

<img src="img/bg.png" alt="struciu ferma" width="2050" height="768" usemap="#Map" />
<map name="Map" id="Map">
...

i try to center that with css but i can make only fixed center position without sliding to left or right.

plz help! Smile

Embedded web page position

Hello,

Using Dreamweaver thrColHybHdr css and having a problem with the location of embedded web page in the main content area. Tried width="100%" height="100%" but page comes in tiny and stays tiny.

width="100%" height="700" is the height I want but the embedded page is centered in the main window when I want it at the top.

My html:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

possible to apply padding to highlighted text?

I'm trying to figure out a way to effectively apply padding to highlighted text-- that is, I want to apply a background color just to the text (not the whole div block-- i.e. by using span) but add some padding so the color is not wrapped so tightly around the text, if that makes sense.

applying padding to the span tag seems to disrupt the flow of the text/line breaks. is there a way to achieve this effect via CSS? thanks much for any insight.

Why is there space in between header and navigation?

If anyone can help explain to me why this is happening and offer a solution, I would greatly appreciate it!

I am eventually going to edit the images used to create these menu tabs so that the space in between them is the same blue as the header instead of white.

As you can see from the screenshot, below the header there is some blank space where you can see my striped background, then comes in my tab menu and main site content. I want the tab menu to be flush with the header. What am I doing wrong? Thanks to all for any help.

CSS

/* basic elements */
 
html {

Syndicate content