On Mar 11, 10:46 pm, "Bazza Formez" <bruce_for...@clear.net.nz> wrote:
> On Mar 12, 10:42 am, "Bazza Formez" <bruce_for...@clear.net.nz> wrote:
>
>
>
>
>
> > I deleted cache.. no luck there.
>
> > 1. yes, login.aspx uses the master page
> > 2. login.aspx, master page * styles.css all in same directory
> > 3. My directory structure is just as you have described....
>
> > Full structure (in case it helps) is :
>
> > root
> > -----web.config
> > -----web.sitemap
> > -----App_Code (asp.net folder)
> > ---------------BLL directory
> > ---------------DAL directory
> > -----App_Data (asp.net folder)
> > ---------------mydb.mdb
> > -----MyDirectory directory
> > ---------------styles.css
> > ---------------masterpage.master
> > ---------------login.aspx
> > ---------------other aspx pages
>
> By the way, all was working ok until I added the My directory level
> into the mix and & moved web pages, master & styles.css into that.- Hide quoted text -
>
> - Show quoted text -
I have really no idea what's wrong here.
Open your
http://localhost/MyDirectory/login.aspx with no style, right
click - View Source. Check what was generated by ASP.NET. Make sure
that it is
<link href="/MyDirectory/styles.css" ...
Make sure that there no other CSS styles in use and HTML layout is
correct.
Try to save the source as a separated HTML file, e.g.
http://localhost/MyDirectory/login.htm to see if this work properly
with CSS in IE and in VS.NET.
Hope, it helps...