HighDots Forums  

Text alignment in document window

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss Text alignment in document window in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Rendike
 
Posts: n/a

Default Text alignment in document window - 11-01-2005 , 08:42 AM






I now have a question about text alignment.
the link is www.meditourshungary.com.
I have copy and pasted text from my previous website into the document window
of this new site. I cannot adjust the left borders of the text to align
exactly at the same place as I duplicate each page.

Could someone take a look at the code and give some advise.

Thank in advance.
Rendike


Reply With Quote
  #2  
Old   
Murray *TMM*
 
Posts: n/a

Default Re: Text alignment in document window - 11-01-2005 , 09:44 AM






In multiple instances you have this markup -

<p align="justify"class="mytext"

Note that there is no space between -

justify"

and -

class="mytext

and there should be for that class assignment to work. Luckily for you,
there is no .mytext class defined.

In addition, you have this -

<p align="justify"class="mytext" style="margin-left: 20; margin-right: 25">

but you have not specified units for your margins - so the browser has no
way of knowing if that's 20 centimeters or 20 parsecs or 20 what. Just do
this, and remove those inline styles -

td.main p { margin-left:20px; margin-right:25px; }

You have to start looking more closely at your code.

--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver
(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
==================


"Rendike" <webforumsuser (AT) macromedia (DOT) com> wrote

Quote:
I now have a question about text alignment.
the link is www.meditourshungary.com.
I have copy and pasted text from my previous website into the document
window
of this new site. I cannot adjust the left borders of the text to align
exactly at the same place as I duplicate each page.

Could someone take a look at the code and give some advise.

Thank in advance.
Rendike




Reply With Quote
  #3  
Old   
Kenneth W. Binney
 
Posts: n/a

Default Re: Text alignment in document window - 11-01-2005 , 10:01 AM



In code view, can you see if your inline css style is the same as the page
you are copying from? On your home page it's
style="margin-left: 20; margin-right: 25


"Rendike" <webforumsuser (AT) macromedia (DOT) com> wrote

Quote:
I now have a question about text alignment.
the link is www.meditourshungary.com.
I have copy and pasted text from my previous website into the document
window
of this new site. I cannot adjust the left borders of the text to align
exactly at the same place as I duplicate each page.

Could someone take a look at the code and give some advise.

Thank in advance.
Rendike




Reply With Quote
  #4  
Old   
Rendike
 
Posts: n/a

Default Re: Text alignment in document window - 11-01-2005 , 03:07 PM



Hi Murray,
Nice to speak with you again so soon...
When you say " just do this" , what should I do with this and how ?

td.main p { margin-left:20px; margin-right:25px; }

(If I understand you correctly, you're saying attach this to the td.main
document cell and delete all the inline style lines... Im not sure how and
where I should put this line...)


Thanks again for your help.
rendike


Reply With Quote
  #5  
Old   
Murray *TMM*
 
Posts: n/a

Default Re: Text alignment in document window - 11-01-2005 , 04:21 PM



<style type="text/css">
<!--
td.main p { margin-left:20px; margin-right:25px; }
-->
</style>
</head>

Like that - put it in an embedded stylesheet in the head of the document.

--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver
(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
==================


"Rendike" <webforumsuser (AT) macromedia (DOT) com> wrote

Quote:
Hi Murray,
Nice to speak with you again so soon...
When you say " just do this" , what should I do with this and how ?

td.main p { margin-left:20px; margin-right:25px; }

(If I understand you correctly, you're saying attach this to the td.main
document cell and delete all the inline style lines... Im not sure how and
where I should put this line...)


Thanks again for your help.
rendike




Reply With Quote
  #6  
Old   
Rendike
 
Posts: n/a

Default Re: Text alignment in document window - 11-02-2005 , 01:50 PM



Hi Murray,
Sorry, but im not completely fluent in this language yet. when you mean head
of the document.... could you tell between what lines ? please
....www.meditourshungary.com.

Sorry about that ...
Rendike


Reply With Quote
  #7  
Old   
Murray *TMM*
 
Posts: n/a

Default Re: Text alignment in document window - 11-02-2005 , 03:52 PM



Between <head> and <head>, and not inside any other pair of tags. Your best
bet would be to put it immediately above </head>.

--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver
(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
==================


"Rendike" <webforumsuser (AT) macromedia (DOT) com> wrote

Quote:
Hi Murray,
Sorry, but im not completely fluent in this language yet. when you mean
head
of the document.... could you tell between what lines ? please
...www.meditourshungary.com.

Sorry about that ...
Rendike




Reply With Quote
  #8  
Old   
Rendike
 
Posts: n/a

Default Re: Text alignment in document window - 11-03-2005 , 02:36 AM



Hi Murray,
Did what you said and everything seems to work well.
I will start creating the other pages now and see what happens.

Thanks again for all your help.
Rendike

Reply With Quote
  #9  
Old   
Murray *TMM*
 
Posts: n/a

Default Re: Text alignment in document window - 11-03-2005 , 06:29 AM



You're welcome!

--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver
(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
==================


"Rendike" <webforumsuser (AT) macromedia (DOT) com> wrote

Quote:
Hi Murray,
Did what you said and everything seems to work well.
I will start creating the other pages now and see what happens.

Thanks again for all your help.
Rendike



Reply With Quote
Reply




Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.