6 replies [Last post]
JohanLM
Offline
newbie
Sweden / Gothenburg
Last seen: 17 years 10 weeks ago
Sweden / Gothenburg
Joined: 2006-01-15
Posts: 7
Points: 0

nt

thepineapplehead
thepineapplehead's picture
Offline
Moderator
Last seen: 47 weeks 6 days ago
Timezone: GMT+1
Joined: 2004-06-30
Posts: 9683
Points: 819

nt

You might want to rethink your right-click menu script. You're messing with my browser, preferences, and I don't like it Laughing out loud

You're also using pt for sizes, so I can't resize the text in IE.

What behaviour would you prefer? What are you actually trying to accomplish?

Verschwindende wrote:
  • CSS doesn't make pies

Hugo
Hugo's picture
Offline
Moderator
London
Last seen: 8 years 11 weeks ago
London
Joined: 2004-06-06
Posts: 15668
Points: 2806

nt

You need to use proper markup, the br tag should not be used the way that you are using it, loose all those br and replace with a proper paragraph tags the image you can just float on it's own you do not have to enclose it in a div unless there is some compelling reason to do so.

You also need to sort out your DocType you cannot have a definition that is both transitional and strict, I'm not sure where you got that DTD from but it needs to one or the other, strict preferably.

The right click menu is very irritating, I expect my usual browser commands on right click, you should never interfere with such things.

Hugo.

Before you make your first post it is vital that you READ THE POSTING GUIDELINES!
----------------------------------------------------------------
Please post ALL your code - both CSS & HTML - in [code] tags
Please validate and ensure you have included a full Doctype before posting.
Why validate? Read Me

JohanLM
Offline
newbie
Sweden / Gothenburg
Last seen: 17 years 10 weeks ago
Sweden / Gothenburg
Joined: 2006-01-15
Posts: 7
Points: 0

nt

nt

HellsBells
HellsBells's picture
Offline
Leader
Bedford, UK
Last seen: 14 years 47 weeks ago
Bedford, UK
Joined: 2004-04-07
Posts: 851
Points: 0

nt

Small point - you know the right-click thing won't stop them stealing your text/scripts/images don't you? You probably do, just checking.

My strategy is so simple an idiot could have devised it!

"Also, your CSS (no offence) makes me want to gouge my eyes out with a rusty spoon" - TPH

JohanLM
Offline
newbie
Sweden / Gothenburg
Last seen: 17 years 10 weeks ago
Sweden / Gothenburg
Joined: 2006-01-15
Posts: 7
Points: 0

nt

To quote my self::

Quote:
I will then later make notes inside the coding that will "tell" people about "stealing". Basicly, if they goin to rip me off Im goin to make them work for it and Ill make them see the <!--"warning"--> by every text
Wink
So yes.
I know I can't stop them. I can just make their time alot harder doin it.

thepineapplehead
thepineapplehead's picture
Offline
Moderator
Last seen: 47 weeks 6 days ago
Timezone: GMT+1
Joined: 2004-06-30
Posts: 9683
Points: 819

nt

<select with mouse> <ctrl> <c>

Nothing to do with a right click, I'm afraid.

As for images:

view > source > find images > copy location > then right click and save images.

Lose the right click menu or lose thousands of visitors, It's your choice.

And this is how to use a <p> tag:

<div class="textblockvitt">
<p>Content for  class "textblockvitt" Goes Here</p>
</div>

Should give you the margins you desire.

Verschwindende wrote:
  • CSS doesn't make pies