Hello, and straight to the point: Once upon a time there was a Base Template, called base.html:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http:// www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <title>some title</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta http-equiv="Content-Style-Type" content="text/css" /> <link href="/media/css/style.css" rel="stylesheet" type="text/css" /> <link href="/media/css/layout.css" rel="stylesheet" type="text/css" /> </head> <body id="page5"> [... and the body continues] Please note that i put links to css in HEAD part. Now, i click between two main pages of my website - "index" and "register" The "show page source" in firefox outputs identical text (obviously different a bit for the container parts for register and index which *are* different. What *is* important tho, is that those two pages share the same "parent" template - "base.html", and that excerpt looks the same on both "sources") One of the pages - index -acts as if *there were* a "padding: 20px" clause in style. Except there is NOT. Index page has a grey 20px "bar" on the very top, register has none (and thats correct) Firebug shows me even stranger thing - as i compare using the html structure tool i see that: register page - links to css shown in <head>, correctly. index page - links to css shown in <body> (why the hell there?! - they ARE inside head in the base template) Excuse lengthy post and not very clear "subject" but i have no idea whats happening here. And it seems that the gray bar (padding) is just a part of the problem since there seems to be a whole style to be inserted, messing Internet explorer up completely. im really really hoping that some one points out the obvious thing i missed :) (Im developing a rather simple web app - users can log in, log out, browse categories, make lists of their favourites stuff and so on. Nothing fancy.) if anything is not clear enough - please ask :) Thank You. -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.