View Single Post
Old 06-02-2004, 16:10   #116
QueenBee QueenBee is offline
pie crust
 
QueenBee's Avatar
 
Join Date: Dec 2002
Location: where everybody knows my name
Age: 34
Gender: Female
Posts: 11,792

For Sunny Poison

Quote:
a) is there a way I can get a border consisting of 1px dots for example? I don't think I've seen this option is CSS. But may be I just didn't notice of course....
Yeah, and I think it will show up differently in IE and other browsers. For example, in IE it will show as small lines, not exactly small dots. I think it works good in Mozilla.

If you want all objects to have a border of a special kind (in this case dotted) you add this as CSS:

<STYLE>
---Object--- {border-style: dotted}
</STYLE>


For example if you want images to have a dotted border you add this:

<STYLE>
IMG {border-style: dotted}
</STYLE>


If you want only a specific image to have a border like this you add: style="BORDER:1px dotted #000000" to the image.

For example: <img src="Imagename.jpg" style="BORDER:1px dotted #000000">

You can play around with the attributes. And also add different objects such as:

<STYLE>
P, IMG {border-style: dotted}
</STYLE>


Some more examples of border you can try:
-Dashed (looks like small lines)
-Dotted
-Groove
-Inset
-Outset
-Ridge
-Solid (looks like regular border)

Remember that in IE and Mozilla and Opera and all those things it can show up differently because of the coding style.

Quote:
b) now IFRAMEs... and Opera browser... This option is for IE mostly... but I've seen pages with IFRAMES and they worked ok in my Opera... even older version than I have now. But when I write HTML code by hand... and try to see it in Opera, it shows some weird stuff like oe> or somethong like that instead of the whole page. So my questin is: WTF?
Hehehe, yeah, different browsers sometimes screw up the coding.. I have no idea why this is. I think when we code by hand we use a special coding, it's not that very complicated, but when you use programs such as Dreamweaver and FrontPage, they use more complicated coding styles which these different browers understand better than when we code by hand.. but that's just what I THINK.. I'm not sure at all. So I'm sorry.

Quote:
c) u should know the answer on this I think... I feel comfortable enough with tables and all... but layers are something I'm a fool at. The question: what I need filters for and how each of them works?
I think filters and layers are different things.. but you asked about layers.. so.. I'm gonna answer about using layers. I'm not sure what all the things they can do are, but I use them to position different things on a page. For example on my website (I know! Sneaky commercial ) http://www.self-destructive.lunaticsworld.com you can see how I have added Yulia over the iframe so that she covers the text when you scroll. And I used DIV Layers to create that effect. (The Yulia is a GIF-image where the background is transparent) They're really good when you make websites, but I suck at explaining at how they work exactly. I saw a website using them, and then I just taught myself. I tried looking for pages on Google.com about div layers, but honestly I didn't get any of the things that they said..

Anyway, here is how you add a layer. You simply write it in the <body> section of the html-code.

<div id="image" style="position: absolute; left: ###px; top: ###px; width: ###px; height: ###px"> <img border="0" src="yourimage.jpg" width="yourwidth" height="yourheight"> </div>

Div id = I think this is used for other more complicated codings, when you specify the name of the object.. I never use this myself, I actually erase it completely, but if you want you can always do some research.. I tried and haven't gotten any good results. I had a HTML-book before but I can't find it now, otherwise I would have looked in there.

Style="position: absolute; left: ###px; top: ###px; width: ###px; height: ###px" = This is where you position the object(s). Left: how many pixels from the left it should be. Top: How many pixels from the top it should be. The width and height decide how big the layer should be, but I never use them, the layer's height and width is decided automatically depending on how big the object(s) is/are. Kind of hard to explain, but you don't need to use the height and width attributes.

I put the image code as an example so you know where the object should be.

That's it! Wow, that's totally MESSED UP. I'm really sorry if you don't get any of it.. it's very complicated to explain. But try it out and play around with it. And if there is any problem just tell me! We might not use the same techniques, and sorry if I misinterpreted your questions... I hope this helped anyway (And if it did not help you, I hope it helped someone else) but I'm sorry it just confused everybody..
~~~~~~~~~~~
Monika | TatySite.net t.E.A.m. [ <3 ] [ 11 ]
  Reply With Quote