Why is my text formatting like this?
Hi
I've set up my .css so that the <H2> is big and bold,
and that my <p> text is smaller and normal. The problem is
that I'm getting a line break gap between the two even when there's
not one in the HTML. There should be a space between the <p>
and <H2> (padding of 5), but not the <H2> and
<p>. The HTML is:
<h2>Designers - </h2>
<p>enter your designs</p>
<h2>Everyone -</h2>
<p>vote for your fav designs<br />
Here's the .ccs:
h2 {
font: Verdana, Arial, Helvetica, sans-serif;
color: #69DB33;
font-size:18px;
font-weight: bold;
text-align: center;
padding-top: 5px;
p {
text-align: center;
FONT-SIZE: 13px;
COLOR: #847d6e;
FONT-FAMILY: Verdana, Geneva, Arial, Helvetica, sans-serif;
font-style: normal;
So it kinda looks like this (layout-wise):
Designers -
enter your designs
Everyone -
vote for your fav designs
instead of :
Designers -
enter your designs
Everyone -
vote for your fav designs
I know I could probably do all the formatting in HTML, but I
should be able to do it all in .css - can anyone help?
Cheers
Shaun
Your interpretation is correct. Show us the code where it is
not working
for you, please.
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com
- Template Triage!
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
==================
"Reese" <[email protected]> wrote in message
news:esfsaq$ms9$[email protected]..
> "Joe Makowiec" <[email protected]> wrote in
message
>
news:[email protected]..
>> On 04 Mar 2007 in macromedia.dreamweaver,
celebritymusic wrote:
>>
>>> I've set up my .css so that the <H2> is
big and bold, and that my
>>> <p> text is smaller and normal. The
problem is that I'm getting a
>>> line break gap between the two even when there's
not one in the
>>> HTML. There should be a space between the
<p> and <H2> (padding of
>>> 5), but not the <H2> and <p>.
>>
>> You want margin, not padding. The diagram here might
make it clearer:
>>
>>
http://www.w3.org/TR/REC-CSS2/box.html
>
> According to that graph, if I apply a background on a
30px wide div and
> add 10px padding, the text inside will occuppy only 10px
(30px - (2 x
> 10px)), but an applied background would fill all 30px.
But every time I
> try it, the background image is just as limited as the
text is. I can't
> get the background to fill the padded area.
>
> How would I tell a DIV to push the text 10px off all
four sides, but
> continue to allow the background image to cover the
entire div?
>
Similar Messages
-
Why cant I have the date format like this: 1/2/07, it converts to Jan 2
Why cant I have the date format like this: 1/2/07, it converts to Jan 2, 2007
I want to keep it like that because, I transported a huge spreadsheet from my PC, and it has like this: 1/1/07, and there is way to many, to go back and change. Please help. Thank you.Hello
Welcome to the club.
The response seems to be simple.
Those who wrote the Help are not those who wrote the PDF User's Guide which are not those who coded the application.
As on this forum you will met only users trying to help other users, no one would be able to tell you if what we got is a bug or a design flaw.
Like many of us,
*Go to "Provide Numbers Feedback" in the "Numbers" menu*, describe what you wish: a way to define the default format used as Automatic date/time.
Then, cross your fingers, and wait for iWork'09
Yvan KOENIG (from FRANCE mardi 15 janvier 2008 15:10:17) -
Why Hashtable class name is like this instead of HashTable
I have a doubt in Collections, why Hashtable class name is like this, because, Every class name is start with CAPS like, ArrayList, SortedSet, etc. then the second name first letter should be in CAPS.
Is that any special for that. Can anyone clear my doubt
Thanks in advance.<!--Session data-->DrClap wrote:
Because that's what they called it twelve years ago when they wrote it. I don't really think that asking about what a couple of people were thinking twelve years ago when they named a class is a good use of anybody's time. In fact I think it's a complete waste of time.may be -
Why is Acrobat naming files like this?
Acrobat has recently began naming files I want to save from the internet with a series of seemingly random letters and numbers.
For instance, previously if I went to www.domainname.com and right clicked on a link www.domainname.com/top10acrobattricks.pdf to open in a new tab and then save it, or if I just right click and "save as" it used to name the file in the dialog box as "top10acrobattricks".
But recently it has been giving the files random names like "A9R75A4", and I have to rename every file before I save it. Does anyone know why it has started to do this?
BTW, every file begins with "A9R", with the next 4 letters and numbers different and random, i.e. no sequence to them.I'm used to these names for anonymous files created in Acrobat, or other apps. But let's see what I get. First, I will post a link to a PDF. Here is the link https://community.dur.ac.uk/g.l.ingram/download/tut.pdf. Please visit Why is Acrobat naming files like this? to check this link.
-
Why does my text look like gibberish?
Hello,
I was on iCloud.com and logged in and found that me text looks like this. Someone at Apple having a bad night. I get those now and them. How do I fix it? Or is it just Apple done goofed? Any and all feedback is MUCH APPRECIATED!!! Thank you!!!Try going to Applications/Font Book and validate your fonts. It appears a system font may be corrupt.
-
Why doesn't the "more like this" section offer suggestions anymore in the netflix app?
In the netflix app there is an area labeled "More like this" and it usually show suggestions of other movies. After the last ATV update, it just shows "More like this..." but it doesn't show any movie suggestions. When I spoke with netflix, they said the problem was with Apple since they design the netflix app.
I would also like to know why the suggestions are missing. It seems to work when you select movies outside netflix.
-
How to do pop-up text box like this?
On 1-800-Flowers website home page if you hover over the thumbnails a text box pops up in the the bottom right corner, is there an action in GoLive that can do something like this? It's nice how they have everything in one cell and when doing a onmouseover it does the "shadowOver(event,this)".
http://ww22.1800flowers.com/
Thanks,
WesleyIs it possible to just have a text message pop up in a box (table) onmouseover? Such as:
http://www.dynamicdrive.com/dynamicindex5/popinfo2.htm
I've been working with this script but it is required to have this javascript within the head.
Thanks,
Wesley -
How to create a text effect like this (see example)
Hello everybody,
i would like to create a text, pretty similiar to this shirt: http://www.kuhvet.com/wp-content/uploads/2012/06/OKC-Conference-Champs-LR-T-shirt.jpg
So, the stext hould appear in 3D (kind of) and also should have a golden and silver outline. Also the shadow should drop in front of the text.
I hope that's possible and not that hard to create? I'm a beginner to Illustrator (CS4).
Thanks a lot for your help
Warm regards from Germany
FlorianI would not waste time using AI 3D tools to accomplish this effect. It is 1 point perspective. Start with your front text, establish a horizon line and vanishing point, scale and duplicate the text using the vanishing point as your center of scaling, then connect the points to create the "extruded effect" between the to sets of text. You can outline the text to accomplish this.
For the reflected text, as John suggested, duplicate your text and distort it. Read about "Envelope Distortion" meshes. These will keep your distorted text fully editable, if that is a concern.
Have fun learning Illustrator. -
How to create text file like this?
I want to create text file like attached file. I thought to create 2 text file: First text file make the headers ( Position, value 0,value 1....) , Second file make the table of data. Then combine them to be third text file. Someone can post other solutions?
Attachments:
testdf.txt 1 KB
try_textfile.vi 18 KBHi ha noi,
you don't need 2 intermediate textfiles!
Just write the header line first, then attach lines containing values...
Best regards,
GerdW
CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
Kudos are welcome -
How do I make a text stretch like this?
http://www.youtube.com/watch?v=YYI9tK3o2YY
Heroes word stretches at first. How do I make that? I've glowed it like there, and blurred out like that. But I can't figure out how to strech it.
Also, how do I create those red circles around "O" at 6th second, tutorial would be nice. I'm fairly new to this program.I can't see what you've posted due to network restrictions where I work, but the text stretch sounds like stuff you could accomplish by a combination of animating the scale and some of the distort effects (like Bezier Warp, Corner Pin, Mesh Distort, etc.)
Red circles might be particles, shape layer(s), or Radio Waves depending on how it looks (again, I can't see it).
If you're new to AE, I highly recommend you start here first: [link] Go through all of the resources that page links to. It will get you up to speed on the basics of AE which will remove a lot of the frustration a newcomer can experience. -
How to pass in URL time format like this : DD/MM/YYYY HH24:MI:SS ?
Hi,
I have items date format in the folllowing format : 'DD/MM/YYYY HH24:MI:SS'.
I want to pass them in URL but the sign':' is interpreted as an end of value by apex;
For example if the item value is '21/03/2010 10:20:43' i get this as a result '21/03/2010 10';
How top pass the tiem value in the URL wthout if possible to change the mask format ?
Thank you for your help !
Christian.This a bit of a brute force aproach, but is worth considering as it caters for all Apex specific characters (that htf.escape_sc preserves). It's also useful when extracting text to SQL scripts that may include line feeds, quotes etc etc. RAW representation is twice the as long as the input date string, so use with caution... It also helps obfuscate the URL which helps reduce URL hacking...
SQL> select UTL_RAW.cast_to_raw('21/03/2010 10:20:43') from dual
UTL_RAW.CAST_TO_RAW('21/03/201010:20:43')
32312F30332F323031302031303A32303A3433
1 row selected.
SQL> select UTL_RAW.cast_to_varchar2('32312F30332F323031302031303A32303A3433') from dual
UTL_RAW.CAST_TO_VARCHAR2('32312F30332F323031302031303A32303A3433')
21/03/2010 10:20:43
1 row selected.
Edited by: maceyah on Mar 25, 2010 9:38 AM -
How to make text wrap like this
Hello all.
I am working with text, and want to have a similar effect to that in the picture. What I mean by this is that I really like the columns, and how it indents when it needs to and the text still remains aligned across the columns.
Any ideas on how to do this? Thank youBut this is the point of going with InDesign: that you put in your text so that you can harness the power of InDesign to flow it along the columns and wrap it around inserted blocks automatically.
There's no point in simply copying images from Fireworks into InDesign. You'll just have some low resolution images in a layout program. It won't help.
Open InDesign. Open your Fireworks file. Select each text object in Fireworks, and copy the text from the vector object. Paste the text into InDesign. Maybe paste it into a text editor, first, so you have it as all one block.
Then, here's what you want to do in InDesign:
text flow: http://www.designertoday.com/Tutorials/InDesign/5245/Text.Flow.InDesign.CS3.Tutorial.aspx
and
text wrapping: http://www.creativepro.com/article/on-the-move-to-indesign-wrapping-text (sorry, this one's really old, look in the documentation)
Fireworks can't do either one of these things. Even Word and Acrobat (or another PDF creation program like Primo PDF) would work out better than Fireworks for what you want to create. -
Why is my Page looking like this?
I have essentially the same page uploaded and I have no idea why one is looking like it does and the other is fine. The one that is the DSMS Home is the one I need to look correct. The other one is a test of that page before I made it the homepage of my school!!
http://cmweb.pvschools.net/dsmsweb/Site/DSMS_Home.html
http://cmweb.pvschools.net/dsmsweb/Site/about_me.html
Help!!!!On my machine it looks horrible (viewing in Firefox). The text is all over the place, an image that used to be on the page and I took it off is still on there. I checked the site on a different computer using IE and it looks good. I'm not sure why only on my machine it looks bad.
-
I was going to put some examples of java code on a website that I'm currently building, what is the easiest way to format the HTML to look like some of the code examples used in these forums? Could I do it with a stylesheet or XML or would I have to do something really complicated?
Just use normal html: heres a template:-
<html>
<title>* Your title *</title><head><h4>AProgram.java</h4><hr></head
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<body bgcolor='white'>
<table border=0 cellPadding=2 cellSpacing=0 width="100%">
<TR><td width="8%"></td>
<td width=80%></td><td></td></tr>
<tr></td><td><td><font face='Courier' size='3' color='black'>
public class AProgram {
</body>
</head>
Don't use the <pre> tag as cuases the text to be unusually spaced or to come out tiny for those using resolutions above 800 x 600 and you'll need to hand code certain things eg;-
space = & nbsp ; // close the spaces
left tag '<' = & lt ; // close the spaces
right tag '>' = & gt ; // close the spaces -
Why does my cmus look like this?
It's in a screen session on Leopards terminal. It didn't do this before and I haven't updated anything and I'm confused. If I go to the cmus window, the rest of the screen windows look like that too and when I detach the term looks like that.
hrm, it only does it when I do
ssh -t me@foo 'screen -rd'
if I just ssh then do screen it doesn't
Last edited by tladuke (2010-05-04 15:40:04)Supposed to be plain old english. Leopard terminal says it does UTF-8, but I'm pretty sure I removed all the foreign languages.
The weird part now is that it only does it when I put screen in my ssh command. Let me bold that part. I can live with hitting up arrow every time I login from this computer.
Last edited by tladuke (2010-05-04 15:40:47)
Maybe you are looking for
-
Limited options for VGA display
When I connect my new intel MBP to a monitor it does not give me the resolution options to fill the screen fully. On my older G4 Mini Mac, and an earlier model intel MBP (running 10.4) I was able to set the resolution to 1440 by 900 and it would give
-
HT1212 how can i restore a ipod that has been disabled with a different computer
how can i restore a ipod touch that has been disabled with a different computer
-
Inserting numbers with ','
Hello people I'm trying to update using execute immediate. but when I do the update, I got ORA-01747 and I know why: My values are with ',' like 13,2345 then I get the string to update (DBMS OUTPUT): UPDATE TF_MEDIA_PPM SET DW_LAST_UPD = SYSDATE , ME
-
HT1751 how do i recover my phone numbers from my iTunes bkup when i lost my phone
how can i recover my contact phone numbers from my itunes backup of my iphone without the iphone. I am trying to recover the phone numbers due to my losing my phone and not having recovered it.
-
When will Aperture have support for RAF files from the new Fuji XPro-1?
How long does it normally take to get the RAW file format updated? Fuji say they sent the file details to Apple many weeks ago. This is a camera being given fantastic reviews in all professional magazines worldwide - but I'm stuck with an Aperture fo