Struts2 - First Steps - My page doesnt get the right css -
hi making first page using struts2.
this easy code :
<%@ taglib prefix="s" uri="/struts-tags" %> <html> <head> <meta http-equiv="content-type" content="text/html; charset=utf-8" /> <link rel="stylesheet" type="text/css" href="css/interfaccia.css" /> <link rel="stylesheet" type="text/css" href="css/links.css" /> <link rel="stylesheet" type="text/css" href="css/fonts.css" /> <link rel="stylesheet" type="text/css" href="css/profile.css" /> <link rel="stylesheet" type="text/css" href="css/affitta.css" /> <title> struts2 - sinfonet portal </title> </head> <body> <s:div cssstyle="contenitore"> <s:div cssstyle="header"> <s:div cssstyle="header1"> <img src="img/logosw.png" alt="logo sinfonet" /> </s:div> <s:div cssstyle="header2"> <img src="img/band1.jpg" alt="flag 1" class="photoband" /> <img src="img/band2.jpg" alt="flag 2" class="photoband" /> <img src="img/band3.jpg" alt="flag 3" class="photoband" /> </s:div> </s:div> <s:div cssstyle="center"> <s:div cssstyle="menu"> <s:div cssstyle="menu_table"> <s:label cssstyle="menu_title" value="login" /> <s:label cssstyle="menu_span" value="username" /> <s:textfield /> <s:label cssstyle="menu_span" value="password" /> <s:textfield /> </s:div> </s:div> </s:div> </s:div> </body> </html> i don't know why doesnt right css style (in fact page looks strange).
what wrong?
have checked of css files served (i.e., aren't resulting in 404 errors)?
Comments
Post a Comment