Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Align Left not working

New Here ,
Feb 07, 2017 Feb 07, 2017

I have a page that is not aligning correctly.

Funnel Finders.com | Contact Us

When I have it open in DW it views correctly but the live page is wrong.

1.9K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

LEGEND , Feb 08, 2017 Feb 08, 2017

CurtisWheat wrote:

Thanks all! I did remove the P tag to get te text to look like it was supposed to. Trying to learn all this seems a little overwhelming at times....

A well formed page should have html tags.

Why didn't you just remove text-align: center; from the p css selector.  By default it is aligned left.

p {

line-height: 19px;

padding: 0px;

margin: 0px;

}

Then if you want to center a particular paragraph tag

.center_text {

text-align: center;

}

<p class="center_text">Some centered text</p>

Translate
LEGEND ,
Feb 07, 2017 Feb 07, 2017

In your styesheet you have the paragraph tag set to align 'center'?

p {

text-align: center;

line-height: 19px;

padding: 0px;

margin: 0px;

}

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Feb 07, 2017 Feb 07, 2017

I don't know what "not working" means.  But all your paragraph tags are set to text-align: center

Also fix your code errors.

[Invalid] Markup Validation of http://funnelfinders.com/contact.html - W3C Markup Validator

Nancy

Nancy O'Shea— Product User, Community Expert & Moderator
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Feb 07, 2017 Feb 07, 2017

There are no <p> tags now, all been removed.......humm

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Feb 08, 2017 Feb 08, 2017

Thanks all!  I did remove the P tag to get te text to look like it was supposed to.  Trying to learn all this seems a little overwhelming at times....

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Feb 08, 2017 Feb 08, 2017

CurtisWheat wrote:

Thanks all! I did remove the P tag to get te text to look like it was supposed to. Trying to learn all this seems a little overwhelming at times....

A well formed page should have html tags.

Why didn't you just remove text-align: center; from the p css selector.  By default it is aligned left.

p {

line-height: 19px;

padding: 0px;

margin: 0px;

}

Then if you want to center a particular paragraph tag

.center_text {

text-align: center;

}

<p class="center_text">Some centered text</p>

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Feb 08, 2017 Feb 08, 2017
LATEST

Errors fixed and was able to add the p tags back in the pages.  Had to fix the style sheet first.....

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Feb 07, 2017 Feb 07, 2017

Thank you sir, I have just been able to harvest another 9 email addresses by looking at your on-line source code.

What I see is similar to

Email: <a href="Mailto:name@usiness.com">name@business.com</a><br />

This should not worry you though, as long as you are prepared for spam emails for many years to come. There may also be misuse of the addresses in that they can be used as the sender of malicious software.

Oh, as far as I am concerned, I get a dime each time I sell the addresses on to my faceless clients.

The serious part:

I do not participate in the practice, I used me as an example of what can and does happen. Please have a look at https://iwebchk.com/blog/email-obfuscation-techniques/ or Google the subject.

Wappler is the DMXzone-made Dreamweaver replacement and includes the best of their powerful extensions, as well as much more!
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines