Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > Is it possible to output ON THE BOARDER?

Reply
Thread Tools

Is it possible to output ON THE BOARDER?

 
 
typingcat@gmail.com
Guest
Posts: n/a
 
      10-05-2005
<div style="position:relative; border:solid 10px;">
<div style="position:absolute; top:0; left:0;">Hello, World!</div>
</div>

The text is displayed INSIDE the boarder. But is it possible to make it
displayed ON the boarder?

 
Reply With Quote
 
 
 
 
Dylan Parry
Guest
Posts: n/a
 
      10-05-2005
Using a pointed stick and pebbles, scraped:

<snip example/>
> The text is displayed INSIDE the boarder. But is it possible to make it
> displayed ON the boarder?


Negative positioning? You could try "top: -0.5em;" which should move the
text up by half of its height. Of course, you should give the text a
background colour otherwise the line will go through it making it hard
to read.

--
Dylan Parry
http://electricfreedom.org -- Where the Music Progressively Rocks!
 
Reply With Quote
 
 
 
 
Jonathan N. Little
Guest
Posts: n/a
 
      10-05-2005
wrote:

> <div style="position:relative; border:solid 10px;">
> <div style="position:absolute; top:0; left:0;">Hello, World!</div>
> </div>
>
> The text is displayed INSIDE the boarder. But is it possible to make it
> displayed ON the boarder?
>

<div style="position:relative; border:10px solid yellow;">
<div style="position:absolute; top: -1em;">
Hello, World!
</div>
...Need something here for the div to have size or style dims...
</div>

Gave border a color else default is black like your text and would not
be visible...

--
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com
 
Reply With Quote
 
middletree
Guest
Posts: n/a
 
      10-05-2005
In the first place, "border" doesn't have an 'a'. Secondly, perhaps you
want to use a fieldset with legend. Try this:

<fieldset>
<legend>Bob</legend>
Other stuff
</fieldset>




<> wrote in message
news: oups.com...
> <div style="position:relative; border:solid 10px;">
> <div style="position:absolute; top:0; left:0;">Hello, World!</div>
> </div>
>
> The text is displayed INSIDE the boarder. But is it possible to make it
> displayed ON the boarder?
>



 
Reply With Quote
 
Vladdy
Guest
Posts: n/a
 
      10-06-2005
In the first place, stop top-posting [fixed]

> <> wrote in message
> news: oups.com...
>
>><div style="position:relative; border:solid 10px;">
>> <div style="position:absolute; top:0; left:0;">Hello, World!</div>
>></div>
>>
>>The text is displayed INSIDE the boarder. But is it possible to make it
>>displayed ON the boarder?
>>

middletree wrote:
> In the first place, "border" doesn't have an 'a'. Secondly, perhaps you
> want to use a fieldset with legend. Try this:
>
> <fieldset>
> <legend>Bob</legend>
> Other stuff
> </fieldset>
>


Second, do not use mark-up for presentational purposes especially when
equivalent presentation is easy to achieve with simple CSS:
http://demos.klproductions.com/sandb...egendlook.html

--
Vladdy
http://www.klproductions.com
 
Reply With Quote
 
middletree
Guest
Posts: n/a
 
      10-06-2005
I didn't use markup for presentation. The fieldset/legend combo is a
legitimate piece of code.


 
Reply With Quote
 
Mark Parnell
Guest
Posts: n/a
 
      10-06-2005
In our last episode, middletree <> pronounced
to alt.html:

> I didn't use markup for presentation.


You chose the fieldset and legend elements because of the way they are
commonly presented on screen, not because they are semantically correct
in the context under discussion.

> The fieldset/legend combo is a
> legitimate piece of code.


For groups of form controls and their labels, yes.

BTW: Please quote the relevant parts of the message you are replying to.

--
Mark Parnell
http://clarkecomputers.com.au
alt.html FAQ :: http://html-faq.com/
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Strange problem - page output contains output from another request Paul ASP .Net 1 04-10-2007 03:41 PM
parse output screen ok but cant get desired output new file! chuck amadi Python 1 06-23-2004 02:16 PM
Sony Precision Cinema Progressive Output vs Component 480p Output Otto Pylot DVD Video 1 04-18-2004 09:49 PM
Is Fuji S3000 3.2m/pixel output, or 6 m/pixel interpolated output? Peter H Digital Photography 43 12-04-2003 02:35 PM
Output / Debug window output bug? John Bentley ASP .Net 0 09-10-2003 07:38 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57