I think it might be something to do with me breaking up the code into separate asp include files.
here's the stylesheet code
body { margin: 0; padding: 0; background-color: #FFFFFF; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; color: #000000;}
table, td { font-family...
Haven't I already done that?
#navlinks ul {list-style-type:none;margin-left:3px;padding:0;margin-top:0;margin-bottom:0;}
or am I missing something/
thanks.
There's a larger gap between the navlinks div and the subsequent div, how can I adjust the gap?
CSS
#navlinks ul {list-style-type:none;margin-left:3px;padding:0;margin-top:0;margin-bottom:0;}
HTML
<div id="navlinks">
<ul>
<li><a href="/default.asp">test</a></li>
<li><a...
In relation to http://bluerobot.com/web/layouts/view_css.asp?layout=layout1
and the CSS code below
#Content {
margin:0px 50px 50px 200px;
padding:10px;
}
Does this create relative positioning in relation to the menu? and does position:relative not have to be used and why not?
thanks.
Below is my code, I've done a bit of research on this and can't seem to find an answer. When I run the page the list actually sits out from the viewport, how can I get it right on or beside the left hand side.
css
ul {list-style-type:none;margin-left:0;padding-left:0}
li...
Sorry Im still slightly confused. I've created an example below with a navigation div absolutely positioned and a content div that uses position:relative.
Is this what you are getting at? And If so what are the benefits of using the relative rather than just using position:absolute and...
Hi Vragabond, thanks for your response. Sometimes some of the tutorials just complicate things. Why was the title of the page called "floating tables" - that complicates it even more.
Would you be able to expand on "Sometimes, when working with absolutely positioned elements, position relative...
I get slightly confused sometimes with position:relative
Here's an example http://www.wpdfd.com/editorial/basics/mypage10.html
"background-color: #c9ebe3; position: relative; height: 50px; padding:10px"
Wouldn't it have been just as easy to not have used position:relative;? Isn't this just a...
should I use both server.htmlencode and an SQL injection protection function for every text field and textarea that a visitor can enter info into?
An example would be a user registration form
I created a form that lets visitors input text. Unfortunately it is being abused.
So I used myvar=server.htmlencode("Request.form("textarea"))
and then inserted it into the database.
However I thought this would have stopped malicious input though someone was able to insert html tags including...
Chrissie
that's exactly what happened why I ran the code
SQL="INSERT INTO tblDate (dDate) VALUES (#" & Now() & "#)"
on both servers.
I've now got these two records in my database - bear in mind the day difference between servers
08/12/2005 22:25:28
12/09/2005 06:26:59
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.