A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Android Security Essentials Live Lessons
this week in the
why stylesheet not detected in tiles ?
Joined: Apr 13, 2005
Sep 10, 2006 08:29:00
hi good day ,
i facing a problem on tiles, which is not detect my css file, so it doesn't decorate the alignment and text display
in each page on tiles, i have included the link for every page as tile
<head> <link rel="stylesheet" href="<html:rewrite page="/pages/style.css"/>" type="text/css"> </head>
for example , i have a page as follow , but it doesn't detect the stylesheet
<html:html locale="true"> <html:base /> <head> <link rel="stylesheet" href="<html:rewrite page="/pages/style.css"/>" type="text/css"> </head> <html:form action="addUserRole"> <table align="left"> <tr> <td style="background-color: #cfe1cd" nowrap height="20">User Role ID</td><td class="loglist-rowcolor" nowrap height="20">Description</td> </tr> </table> </html:form> </html:html>
as you can see the word "description" do not display like "User Role ID" which have fill up color
for your information : i have put the css file into myapp\pages\style.css
can i know where i make the mistake ? thank you
[ September 10, 2006: Message edited by: Nakata kokuyo ]
Joined: Feb 08, 2006
Sep 11, 2006 12:35:00
Are you getting any errors? You may need to use single quotes in your page attribute.
Also, from your browser make sure you can get at the full URL:
Joined: Apr 13, 2005
Sep 11, 2006 16:50:00
hi Brent , it doesn't give any error on it
but i found myself having a stupid mistake , that is the file name actually named as styles.css not style.css
anyway, really thanks for your guidance and have a nice day
It is sorta covered in the
JavaRanch Style Guide
subject: why stylesheet not detected in tiles ?
Delete Confirmation page
Locale problem in struts 1.1
NullPointerException on tiles
using Multiple submit buttons.
Pop-up in struts
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014