| |
thread by: Arthur Connor |
last post Jul 20 '05 by: Bob
I want to embed some source code lines in an article on a web page.
As usual I want to use a fixed sized font for this souce code lines (read: the letters should
have all the same width).
The font normally used when I declare a <PRE>...</PRE> tag is very ugly.
Is there another font which I can use to display fixed size text ?
Arty
|
thread by: enwriter |
last post Oct 16 '10 by: Death Slaught
I'm a member of a social network and I would like to expand the margins in the template I have.
There is a HTML reader to help design your page.
Please tell me the code for expanding the margins within a template. The template has a 4 inch white space on the left side of the page, that is driving me crazy. I would like the text and layout to...
|
thread by: Viken Karaguesian |
last post Jul 21 '05 by: David Dorward
Hello all,
I'm trying to create a Div style for a website that I'm playing around
with.
I'd like the DIV itsself to be center-aligned, but the text within the
div to be left-aligned. My div style looks like this:
div.main { width: 460; height: auto; text-align: left }
|
thread by: Mike |
last post Jul 20 '05 by: Stephen Poley
Apparently there is now a way to hide html source code. How it done?
For example see:
See http://www.eteamz.com/banksblaze/
|
thread by: Ted Mencini |
last post Jul 20 '05 by: Brian
When I replaced older <IMG ALIGN=RIGHT ...> tags with a CSS definition
<IMG class=right ...>
xxx.css:
IMG.right { BORDER: 0; align: right }
I notice that the effect is NOT the same. While in the past the text was flowing smoothly around the picture
on the right side there is now a hard cut: Text, then picture below with white...
|
thread by: Dave Moore |
last post Jul 21 '05 by: Rijk van Geijtenbeek
Hi,
I want to use CSS to define the font size in every cell of a table. This
avoids needing to define the font size in every <TD> tag using the normal
multiple HTML <FONT SIZE="2"> notation. Therefore my question is, Is there a
CSS attribute I can set on the <TD> tag that will set the size of any text
within the table cell?.
Regards,
Dave
|
thread by: Michael Hill |
last post Jul 20 '05 by: Darin McGrew
Is it possible to have nested forms?
<form name="form1" method="post" action="pgm1">
<input type="text1">
<form name="form2" method="post" action="pgm2">
<input type="text2">
<input type="submit" value="submit form2">
</form>
<input type="submit" value="submit form1">
</form>
|
| |
thread by: divina11 |
last post Jan 29 '20 by: gits
So, if you have two buttons side by side how do you create space between them? I've tried the 'SPACER' tag, however this did not work?
<input type="button" id="" value=" " onclick="">
<input type="button" id="" value=" " onclick="">
Ta.
Divina
|
thread by: Craig Thomson |
last post Jul 20 '05 by: Spartanicus
How can I have some text aligned to the left of the page and some more
text aligned to the right using only CSS without a table?
SPAN doesn't have any alignment, and there is only a single DIV block
per line, and so only one alignment.
TIA
Craig
|
thread by: |
last post Jul 20 '05 by: MH
Can I link to another page with a <input type=button> without javascript???
Thanks
|
thread by: John Smith |
last post Jul 20 '05 by: Barry Pearson
Is it possible to position a DIV so that it will always be at the
bottom of the screen without having to use absolute positioning or
using the background image workaround?
Thank you!
|
thread by: Jeff Anderson |
last post Jul 20 '05 by: Anne van Kesteren
Is there a style for a select option's "selected" color? For example:
<HTML>
<BODY>
<FORM NAME="form1">
<SELECT NAME="mySelect" SIZE="7" style="background-color:red;">
<OPTION>Test 1
<OPTION>Test 2
<OPTION>Test 3
<OPTION>Test 4
|
thread by: piyush jain |
last post Oct 23 '11 by: amarlol
can we add numbers just only using html
if not then what is the best way to do the same
|
thread by: musicmouse |
last post Jul 24 '06 by: ticktOck
Happy new year to you all,
I have a problem with the css settings for the horizontal scrollbar of
a textarea.
When I look at my textarea's in Internet Explorer (I use 5.5) I see
only a vertical scrollbar when the area contains a too long text. IE
wil just break off the text at the limit if a single word is too long
and put the next...
|
thread by: vinicius |
last post Jul 2 '12 by: Bharat383
How do I make this open the link in a new tab on button click?
<button type="button" name="" value="" ONCLICK="window.location.href='URL'">submit</button>
|
| |
thread by: Derek Fountain |
last post Jul 23 '05 by: me
I have a horizontal navigation bar, which is a single row table containing
the right images. It "stretches" itself across the screen using a
penultimate td like this:
<td width="100%" background="images/nav_bar/nb_spacer.gif"> </td>
which works in all major browsers that I've tried, but doesn't validate. No
background attribute to...
|
thread by: dmjpro |
last post Mar 27 '13 by: r035198x
When the browser encounters
<input type = file>
Then a text box followed by a button appears on the browser window.
What i want to do:
Change the separate styles of the two elements as in DOM it is treated as a single one.
Can i do this using style sheet?
|
thread by: Gérard Talbot |
last post Aug 18 '05 by: Dave Anderson
Hello all,
I'd like to know and understand the difference between, say,
<img src="/ImageFilename.png" width="123" height="456" alt="">
and
<img src="/ImageFilename.png" style="width: 123px; height: 456px;"
alt="">
|
thread by: thatguy |
last post Feb 22 '12 by: PoojaAgrawal
i know its a simple question, but how would i align a <table> tag to the center of the page, using css?
thanks
|
thread by: Chuck |
last post Jul 23 '05 by: Chuck
given that the img border >0, how is a border color specified?
Chuck
|
thread by: bill |
last post Jul 20 '05 by: bill
I inherited a site written with <layer> tags for 4.79. I want to update
it for Mozilla but am having .js problems. Changing the layers to divs
will be easy but one problem is that the site is written so that
clicking on a layer fires off some javascript that changes the
appearance of other layers. I can do the appearance/disappearance part,...
|
thread by: nitinpatel1117 |
last post Nov 17 '13 by: rybo111
I need to make a whole div, become a link.
i currently have the code
<a href="temp.html"><div>some text</div></a>
but this does not validate as xhtml strict.
putting the link in the div will only make the text a link and not the whole div.
the reason i've got the div in there is becuase i use it to create a box and add a colored...
|
thread by: LadyKnight |
last post Jul 21 '05 by: Barbara de Zoete
I am trying to build a new personal homepage and decided to try using
CSS for the first time. I came across some dashed underlines for links
on this page (and several others):
http://www.mezzoblue.com/zengarden/resources/
How do you do this? It's not one of the defined text-decorations, so
I'm not sure how to do it? You don't have to...
|
| |
thread by: justdummy |
last post Aug 26 '05 by: Gérard Talbot
Hi,
I am struggling with a problem for sometimes. I need to display a table in
a html and if the height of the table goes beyond 200 px then a vertical
scrollbar should alone appear without any horizontal scroll bar. If the
height of the table is less than 200 px then no scroll bars should appear.
Here is the html below. I tried to wrap the...
|
thread by: Christopher Benson-Manica |
last post Jul 20 '05 by: Christopher Benson-Manica
http://ataru.gomen.org/files/html/files/test.html:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>Test page</title>
<style type="text/css">
.center { margin-left: auto; margin-right: auto; text-align: center; }
#listdiv { width: 400px; margin-left: auto; margin-right:...
|