XSitePro Website Design Software Message Board

The online forum dedicated to XSitePro users. Get help with website design in general and using this popular and incredibly powerful website software
It is currently Tue Jun 18, 2013 4:17 pm

All times are UTC - 7 hours




Post new topic Reply to topic  [ 5 posts ] 
Author Message
PostPosted: Thu Mar 22, 2012 7:28 am 
Offline
User avatar

Joined: Tue Mar 09, 2010 10:30 am
Posts: 16
Hello,

I have been having a lot of trouble with editing content in xsp when it comes to the paragraph tags. I would like to edit it as body content with <br> instead of <p>&nbsp;</p>. Is there a global script to achieve this? I use seamonkey to create html emails and they have a drop down to select what type of content it is. You can chose paragraph, body, heading 1 etc.

Image

Thanks for any help.

David


Top
 Profile  
 
PostPosted: Thu Mar 22, 2012 10:45 am 
Offline
User avatar

Joined: Sat Aug 30, 2008 7:22 pm
Posts: 1890
Location: The road less traveled...
Use shift + enter to have the editor insert a <br> tag instead of </p>.

_________________
XSitePro runs great on HostGator (WordPress does, too)
Image


Top
 Profile  
 
PostPosted: Thu Mar 22, 2012 11:52 am 
Offline
User avatar

Joined: Tue Mar 09, 2010 10:30 am
Posts: 16
Maybe I should be more specific. I understand you can make a <br> if you press shift enter. But let's say I do that and I try to center the text after the "shift enter", It will center all the text above it as well. Is there a way to change the format of the content to body text so that there are no paragraph tags only <div>, <span> and <br>'s? This makes it easier to format and space correctly. Paragraph tags end out editing content that I don't want to be edited.


Top
 Profile  
 
PostPosted: Thu Mar 22, 2012 1:06 pm 
Offline
User avatar

Joined: Sat Aug 30, 2008 7:22 pm
Posts: 1890
Location: The road less traveled...
I'm still not sure what you're looking for. The <p></p> tags are an inherent part of the XSP Design editor.
If you need a particular format for these "<br>" type lines, use an h-tag instead. You could add a CSS script in the <head>
section that gives the <h6> tag the properties you want and then use it instead of the <p> tag.
Then, just use <h6 align="center">Some text with the h6 properties</h6> whenever you need this type of formatting.

You could even have multiple classes of the <h6> tag: h6.foo1, h6.foo2. h6.foo3, etc....

Then you could use <h6 class="foo2" align="center">Some text with the "h6.foo2" properties that will be centered</h6>

_________________
XSitePro runs great on HostGator (WordPress does, too)
Image


Top
 Profile  
 
PostPosted: Thu Mar 22, 2012 6:08 pm 
Offline
User avatar

Joined: Tue Mar 09, 2010 10:30 am
Posts: 16
Thanks for the help. That would work just fine. Do you know the script that I could use to set the h6 to achieve this goal? The property I am looking for is to create a <br> when I press just press "enter".

<body>
This is body text style<br>
It moves down one line<br>
when you press enter<br>
<br>
</body>

Thank you again.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC - 7 hours


Who is online

Users browsing this forum: Bing [Bot] and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group