Read Latest Entries..: (Post #13) by jlhaslip on Oct 19 2005, 01:37 AM. (Line Breaks Removed)
QUOTE(jlhaslip @ Oct 16 2005, 07:11 AM)Perhaps someone will come along and explain it better, and I wish I could find a version to post here for you.Okay, it took me a while, but I stumbled upon the answer today, so here it is:Insert this mete tag in the head section of your document.CODE<meta http-equiv= "expires" content = "0" />This will expire the page in your cach... read more.
Well, I am trying to make my site valid HTML 4.01 Transitional. So, I need to remove the topmargin="0" and leftmargin="0" attributes from the BODY tag. So, I need to do it in CSS. I'm just a rookie CSS, but I think that this code should work:
CODE
body { margin: 0px }
However, that doesn't work for some reason. I've tried the code in a plain document, and it worked there. But why doesn't it work on my site?
My site is http://www.global-rs.com if you want to check out. (I know I have been an idiot using ID instead of CLASS, lots of work to do now)
I think I fixed it. But I still don't know what the problem was.
Maybe you reset your cache/internet temporary files? When developing a site and altering things, sometimes your browser picks up info from the local cache rather than the newly editted file, so empty your Internet History or cache frequently to force the browser to review the changes you have made. There is a Meta tag which 'expires' your page. (sorry that I can't find the exact description on short notice) which is helpful in these situations. It forces the browser to reload a new page every time you request the page and the latest modifications are shown.
Perhaps someone will come along and explain it better, and I wish I could find a version to post here for you.
I think the second question has been answered, but for the first one:
Try removing the "px" from you rule and add !important to this (some times, some browsers wont apply a rule, but as soon as you add this, its starts working, its like a cheat code to fool browsers or something hehe, Tim Berners Lee received this from the hand of God himself and the w3c got it into their css standars).
So the code you have will be like this:
CSS
CODE
body { margin: 0 !important; }
I also added a semicolon in the end (which is not strictly necesary if you dont have any thing else in the same rule). You never know, all this is not suposed to be necesary but check this out tosee if it worx...
I notice that you enjoy posting corrections, but not actually helping with problems. There is a forum which discusses this very same phenomenon. A matter of being polite.
If you don't want to read the whole thing, just read this:
QUOTE(Matt Kruse@java-help.org)
| They're the people who correct an unimportant technical innacuracy in | someone's story, then wonder why everyone stares at them like they're an | idiot. They don't quite understand that it's best to just ignore it and | enjoy the story rather than obsess about technical accuracy.
I notice that you enjoy posting corrections, but not actually helping with problems.
And I notice that you quite often get things wrong which need correcting. In this instance, it wasn't even a correction, merely a suggestion as to how to do things better. And your point might have more validity if we weren't talking about something whose very basis is technical. I post a lot on other forums where technical preciseness is the norm and not something where it's considered 'unimportant'. So when posting on subjects of this nature, I apply the same level of specificity across all boards. I can't help it if you don't have the same rigorous standards or the knowledge to match it.
I can't help but support Tyssen on this one. Getting something to work is one issue, Standards Compliance is another, and being efficient about both of these is still one more issue to contend with. I still have a lot of learning to do about web site building and CSS and yet I strive to make my code Standards Compliant in an efficient and effective manner. Probably goes back to having a computer where the entire harddrive was 4 Meg and everything had to be done efficiently. But the less volume of code you have to drag around is better for everyone. Your bandwidth at the server and at the clien't side, as well, so lean and mean would be the target for my code.
If someone has a better way then I am open to suggestion.
Perhaps someone will come along and explain it better, and I wish I could find a version to post here for you.
Okay, it took me a while, but I stumbled upon the answer today, so here it is:
Insert this mete tag in the head section of your document.
CODE
<meta http-equiv= "expires" content = "0" />
This will expire the page in your cache so that the next time you load the page, it looks for the source rather than the version which is in your cache. There is another way to do the same thing by giving the file an expiry date which is already passed. For example using a date of dec 31 2004, the cache expiry date has already passed, so the source will not be cached. I'll post a version here when I find one.
When I am building a site, I use this meta tag while editting and reviewing the css files and positioning elements. That way the most recent version is read by the browser. And you don't have to bother emptying the cache before each change is reviewed.
Efficiency, and, therefore, standards-compliant code are two highly important aspects of my coding. I am quite detail-oriented, so I am prone to be very precise and accurate in answering a question and help the person understand.
I strongly suggest that everyone should help the person who posted the question understand what his/her problem is, so that he/she does not come across the exact same problem again.
I was pretty sure that my code was standards compliant. I also try to do my best to make things standards compliant. If it is not, please point out where, but I'm pretty sure it is.
Nobody said it wasn't. In my first post I said to write your CSS more concisely, i.e. shorter, less file size, better. jhaslip said:
QUOTE
Getting something to work is one issue, Standards Compliance is another, and being efficient about both of these is still one more issue to contend with.
Again, he's referring back to my post about shortening your CSS. The example you gave, while not incorrect from a standards perspective, is incorrect from an understanding of how CSS works. Cascading Style Sheets are so called cos the styles cascade down from the top which means that you can set styles on a parent element and all elements contained within will inherit those styles. You only need to specify styles when you want something to be different from its inherited style; you don't need to repeat all the values for each element. Anchor tags are a common one that newcomers to CSS get wrong: they think they have to specify the text-decoration, font-size, colour etc. for all states when really, in most cases, all those styles can be set on the a tag and only a colour change is needed on the hover, visited etc.
In christmas holiday several years ago, I have successfully going out of my body after learning
something. The experience is quite fearful. I do the OBE by imagining fallilng from a high ground /
building. While doing that my body feel heavier and heavier and my chest is very very heavy (due to
the not clean heart chakra). After I successfully in a lower frequency where sound could be heart
like from an empty room or like listening in water. I pull my consciousness outside my body by
thinking something fearful. Right after my consciousness is separated from the body, t....
I've thought that it's a interesting thing to discuss as long as some have after death
wishes... I saw a movie with that made me think that I would choose a dark red coffin for my
burial.. I don't know if my wish will come true or not, as long as I'm dead but I hope it
will not come true too soon /smile.gif" style="vertical-align:middle" emoid=":)" border="0"
alt="smile.gif" />)....
Hello Trap17, this is my first post at the forums and I want it to so some good, so I am going to
post this tutorial for some people who have noticed they have a little pot belly, and want to work
it off effectively. Or as a matter of fact, any other parts that have become flabby /biggrin.gif"
style="vertical-align:middle" emoid=":D" border="0" alt="biggrin.gif" />. 8 Minute Abs
Don't laugh, I know the name is corny, but just wait until you see the video! Ok, what
it is, is an 8 minute (for those who hadn't guessed) exercise which (quite q....
For most of us, when we hear the talk acne, we assume of facial acne. However various womanliness
suffer from body acne. Acne amenability rift out, not individual on the appearance but also on the
snog, shoulders, leading arms and back. Dominion multitudinous ways, body acne responsibility stage
harder to treat over essential is delicate irritated and mythical worse by the essence the of the
apparel that rubs rail stable. The identical factors that bring on facial acne also bring on body
acne. An overproduction of oils mastery the skin blocks pores, causing bacteria to....
Grr. I'm so sick of those ghey hosts out there, Finding a decent one is DRIVING ME INSANE D:
Hope this one works great /biggrin.gif" style="vertical-align:middle" emoid=":D" border="0"
alt="biggrin.gif" /> Don't work around censors. Topic title modified. ....
Yesterday I watched a documentry in T.V. there they were showing about Out-of-body experience. It
said as This is an experience that involves a sensation of floating outside of one's body. Can
this be possible. Don't you guys think that this is just an illusion that we see because we want
to experience this kind of sensetion in real world. e.g. like there is a person who want to see the
whole world but cannot go anywhere since he/she got some problem. so just to fullfill his/her dream
they can view or see illusion that they were travelling while sleeping. It'....
Here is a little flash game I made... five levels..... some of them are difficult... some of them
are not... enjoy.... The basic premise is you have to move your mouse through the mazes without
touching the green walls... then you must click on the red button.... There are a few things I need
to fix... but I'll do that later... also, I plan on adding many many more levels later, when I
have more time.... Again, enjoy! (Oh yeah, on level 5... you have to find the correct button)
http://www.2kart.trap17.com/maze%20game/maze%20game.html ....
Hey, How the heck do I get regular sweaty body oil out of fabric? I'v tried everything and
nothing seems to work. Doesn't seem to matter if I'm cleaning my nylon Decent or my 30,000
thread count pillow cases I got for my 50th wedding anniversary I just can't get the stains out.
Although once I poured Lestoil on a pillow case and let it sit for a few hours before washing it and
when it came out of the dryer I could see the marks of where the lestoil was poured onto the pillow
case. I can't be buying cases of Lestoil that would just be too costly and ....
hello i wanted to know will doing push ups for about 10 weeks give you a strong toned body? i
wanted to know because i do pushs up only once a week and run the next 6 days of that week and i
don't know if i'm getting any stronger. ....
Well, before you watch this video, I figured I might give you a little background info. A couple of
years ago at the C-Town Highschool, there was a principal named Rick Larkin. He was a complete
dress code nazi... and flip flops... oh you didn't want to be caaught wearing those around
him... http://youtube.com/watch?v=e87xLw73jdI ....
Hi there, I am very happy to introduce a diet for you . It is October now, in most areas of the
Northern Hemisphere, the weather is getting very cold,late autumn is comming soon. so many ppl may
feel uncomfortable for the cold whether, and Iam one of them. As the tempreture goes down day
by day, I felt tired, there was not enough energy in my body, my eyes and skin were uncomfortble for
the air is so dry. I asked the doctor, and he told me this porridge diet: Chinese date(jujube) 50g,
medlar 20g rice 50g put these m....
QUOTE Body mass index (BMI) or Quetelet Index is a statistical measure of the weight of a person
scaled according to height. It was invented between 1830 and 1850 by the Belgian polymath Adolphe
Quetelet during the course of developing "social physics". As a measure, BMI became popular during
the early 1980s as obesity started to become a discernible issue in prosperous Western society. BMI
provided a simple numeric measure of a person's "fatness" or "thinness", allowing health
professionals to discuss over- and under-weight problems more objectively with their p....
ok today me and my family went down to ikea and bought a cabinet with a roller door on the frount of
which my mum had seen on a ealier acassion and she now had a place to put it. so we bought it and
went home. on the instruction manual it said "construction time = 30 mins" well first of that was a
lie so we got started putting it together. first of was to but the actual cabinet together. no
proplem there. time = 5 mins ok you know how ikea instructions are picture of what you should do.
well this one was very confusing because it was time to but the roller door on. i....
Q. How much wood would a woodchuck chuck if a woodchuck could chuck wood? A. A woodchuck would
chuck all the wood that a woodchuck could chuck if a woodchuck could chuck wood. Q. What if there
were no more hypothetical situations? A. *Disappears* These ones kinda suck, so let's hear
yours! (I'll give you some more later too!)....
Hi everyone! This is just going to be one big rant cos i am so angry and i have to get it out
or ill explode! One of my best friends (who i also happen to have feelings for) has a
boyfriend, now thats a bummer on its own to me but it gets worse! Her boyfriend is an abusive
(damn wish i could swear), pathetic excuse for a "man". Me and all my mates are only 17 and so is he
but hes so abusive to her! Theyve been together for just over a year and as much as it upset me
at first i got along well with him becuase hes into computers etc and so am i so we ha....
idk my head is all over the place i think i like this girl but she has a BF...and i know they like
each other alot but sometimes he's a *BLEEP* and i think i would make a better BF idk i like her
too....
Ok, how do I start?!! I´m Portuguese, and the Portuguese governement announced that a new
identity card is gonna be "launched", were all other personal documents will be "inserted" in just
one card! Ok, the ideia is great i agree, but the name of the card, my God... The card is called
Cu , for you guys is not a big thing, but just look at this, the name Cu in Portuguese means ASSe
(but)!!! /dry.gif" style="vertical-align:middle" emoid=" So now imagine, i'll go
in my car, a police man stop me and say: show me the car documents and your "as....
So I was working on the computer, I think it was doing trap17 stuff, can't remember, anywhoo, I
Was working and all of a sudden my computer shut down, I'm like..oh great. So my sister and I
opened it up, well, it was the power supply/mother baord(power surge). We didn't think it was
the motherboard just yet, so we went and bought a new power supply, installed it, no go. So now we
new it was once of the essensials. We took the harddrive into a control, it was fine, the processor
was fine. Motherboard. Took it into the geek sqaud, boy, do I hate them, atleast t....
I am a teenager, but at least I'm a sensible one! I am so sick of all these
people in my school thinking they're the shiz because when they have no viable retort, they use
the bullet-proof "ur mawm" or "ur *happy*". The *happy* one really pisses me off. I'm not
homosexual, but these stupid-arse kids think that being *happy* is something bad and then they acuse
random people of being so. GAHH!!!!! And I also hate how people misuse the term
"retarded" or "retard". It is used so much in my school that it has lost its meaning. ....
Hi guys! I need help with a simple C program I am doing. I want the program to do something
then ask the user if it wants to do it again. I used a do-while loop for this but as it comes out
it's either a bug or there's something I really need to know. Here is my code btw: CODE
#include <stdio.h> main() { char a='y'; int b; do {
printf("\nEnter a number: ");
scanf("%d",&b); printf("You entered
%d\n\n",b)....
I have read in the news paper, a local news here in the philippines that during the convention at
singapore, Bill Gates says "New technology soon to be implanted in the human body, but I will not
try this experimentation in myself.." Is it possible the somebody is working to implant computer in
the human body? Wow,,, very interesting, but do you think this will help us? if the computer is
inside our body, what does the computer do? maybe instead of using our mind the computer will think
for you... ha ha ha... that will makes us a robot... If this will happen, if bill g....
I have this really stupid science teacher. He always reapeats himself but manages to never explain
anything! He also does this thing where he looks at his watch whenever we're talking but
never actually SAYS "be quiet" so we never know he's trying to get our attentin unless we feel
like looking at his ugly face. his head is really small and ugly....
Today whilst buying lunch, I went up to the school canteen and read what I could order. About 3rd on
the list was Italian Pasta which nearly made me laugh. What about you, have you ever read some
stupid things?....
Hi all, How does the internet affect your thinking ability?? There's little real
"accountability" out there on the net. Anybody can post just about anything ... I you take what
someone says on the net at "face value" ... and believe it. ..then the "wrong" idea gets inside
your head .. and can make you "stupid". Some associated questions to think about: Who do you believe
as an authority on a subject ???? Who do you trust?? How do know when to trust them? How many "blind
alleys" have you been led down by mis-informed ppl, lying ppl, or just plain stupid ppl with no r....
Ok, when I have been at school the last few weeks I have heard people saying these weird sentances
but the strange thing is they are quite funny. Here are some of them: "I've seen your type on
the radio." "You sound a funny colour." "Dont look at me in that tone of voice." Has anyone heard
any more? /biggrin.gif' border='0' style='vertical-align:middle' alt='biggrin.gif' /> ~ Munchie
~....
Here is the basic wind down taken from my livejournal "...Oh well that is how it goes in my life.
Other then that, my two "friends" who should have my back are being total *BLEEP*es. Scott is mad at
me for wanting him to cover me FOR THE FIRST *BLEEP*ING TIME I HAVE EVER ASKED HIM FOR *BLEEP*. I
was there when he broke up with Dani, when no one else wanted to be his friend I was there, when
people purposely dismissed him for parties and crap I invited myself so that he had an excuse to be
invited, I was there when his dad died, I was the only one who went to his birthda....
I used to be friends with these two girls who are best friends. But lately they have become soooo
*BLEEP*y. They like whisper about people in front of their faces but don't actually TELL them.
Its so annoying. And then if you ever confront them they just totally deny it all and act like they
have done nothing wrong. They also are so horrible to everyone. So we weren't getting on and
then one lunchtime they kept walking in and out of the room. We were all wondering what the hell
they were doing. Then after like 5 times of walking in and out we started talking abou....
Has anybody been to body worlds? There some in europe and for the first time they have one in the us
in los angeles California. I just want to know what the experience is like because I'm hoping
that my boyfriend will take me there soon. For those of you that don't know what it is, it's
a museum in California that exhibit real dead bodies on display. The dead bodies were all donated by
the people themselves. here's a quote that I read in the newspaper "A pregnant woman lies on
her side with a hand behind her head as if posing for a nude photograph. But ....
Express your Opinions, Thoughts or Contribute more info. to help others.
Ask your Doubts & Queries to get answers, So that "Together We can help others!"
Register FREE for AD-FREE
forum, Create your own topics, Ask Questions, track topics, setup
subscriptions & notifications and Get a Free Website w/ Email and FTP.