how to align this in the center

Go down

how to align this in the center Empty how to align this in the center

Post by Paradise on Wed Nov 20 2013, 08:26

I got this code which helps to disply feeds in one's forum. But, I got a problem which is, I would want the entry title to be positioned in the center


Code:
<!-- start sw-rss-feed code -->
<script type="text/javascript">
<!--
rssfeed_url = new Array();
rssfeed_url[0]="http://www.favouriteforum.com/feed"; 
rssfeed_frame_width="750";
rssfeed_frame_height="1200";
rssfeed_scroll="on";
rssfeed_scroll_step="6";
rssfeed_scroll_bar="off";
rssfeed_target="_top";
rssfeed_font_size="15";
rssfeed_font_align_position="center";
rssfeed_font_face="";
rssfeed_border="off";
rssfeed_css_url="";
rssfeed_title="off";
rssfeed_title_name="";
rssfeed_title_bgcolor="#3366ff";
rssfeed_title_color="#fff";
rssfeed_title_bgimage="http://";
rssfeed_footer="on";
rssfeed_footer_name="";
rssfeed_footer_bgcolor="#EAFBFC";
rssfeed_footer_color="#333";
rssfeed_footer_bgimage="http://";
rssfeed_item_title_length="50";
rssfeed_item_title_color="#18698F";
rssfeed_item_bgcolor="#EAFBFC";
rssfeed_item_bgimage="http://";
rssfeed_item_border_bottom="on";
rssfeed_item_source_icon="on";
rssfeed_item_date="off";
rssfeed_item_description="on";
rssfeed_item_description_length="120";
rssfeed_item_description_color="#666";
rssfeed_item_description_link_color="#333";
rssfeed_item_description_tag="off";
rssfeed_no_items="0";
rssfeed_cache = "232c1746a7bae1b649c68043a8ffa4f6";
//-->
</script>
<script type="text/javascript" src="http://feed.surfing-waves.com/js/rss-feed.js"></script>
<!-- The link below helps keep this service FREE, and helps other people find the SW widget. Please be cool and keep it! Thanks. --> <div style="text-align:right; width:750px;"><a href="http://www.surfing-waves.com/feed.htm" target="_blank" style="color:#EAFBFC;font-size:10px">widget @</a> <a href="http://www.surfing-waves.com" target="_blank" style="color:#EAFBFC;font-size:10px">surfing-waves.com</a></div>
<!-- end sw-rss-feed code -->
Paradise
Paradise
Forumember

Male Posts : 117
Reputation : 1
Language : English

http://igboist.forumotion.com/forum

Back to top Go down

how to align this in the center Empty Re: how to align this in the center

Post by Ikerepc on Wed Nov 20 2013, 09:40

Hello

Please write what you want center, I mean what part.

And can you please make screenshot, how it looks, and tag on image what you want to center.
Ikerepc
Ikerepc
Active Poster

Male Posts : 1186
Reputation : 167
Language : PHP, jQuery, SQL, JavaScript, HTML5, CSS3, Basic, C, C++ <?php echo 'English and Croatian'; ?>
Location : Where web help & support is needed

http://admins.forumotion.com

Back to top Go down

how to align this in the center Empty Re: how to align this in the center

Post by Paradise on Wed Nov 20 2013, 10:22

The content that would be displayed in the widget

here is my forum http://www.favouriteforum.com
Paradise
Paradise
Forumember

Male Posts : 117
Reputation : 1
Language : English

http://igboist.forumotion.com/forum

Back to top Go down

how to align this in the center Empty Re: how to align this in the center

Post by Ikerepc on Wed Nov 20 2013, 10:56

You want center all of that?

If yes, you can put before code all codes
Code:
<div class="hgf1">
and on the end
Code:
</div>
And this code before first div code
Code:
<style type="text/css">.hgf1 {
margin-left:auto;
margin-right:auto;
text-align:center;
}</style>
I think it need to work.
Ikerepc
Ikerepc
Active Poster

Male Posts : 1186
Reputation : 167
Language : PHP, jQuery, SQL, JavaScript, HTML5, CSS3, Basic, C, C++ <?php echo 'English and Croatian'; ?>
Location : Where web help & support is needed

http://admins.forumotion.com

Back to top Go down

how to align this in the center Empty Re: how to align this in the center

Post by Paradise on Wed Nov 20 2013, 11:24

Not working
Paradise
Paradise
Forumember

Male Posts : 117
Reputation : 1
Language : English

http://igboist.forumotion.com/forum

Back to top Go down

how to align this in the center Empty Re: how to align this in the center

Post by Ikerepc on Wed Nov 20 2013, 11:43

You can try just put on begin of that what you want center
Code:
<center>
and on end
Code:
</center>
Ikerepc
Ikerepc
Active Poster

Male Posts : 1186
Reputation : 167
Language : PHP, jQuery, SQL, JavaScript, HTML5, CSS3, Basic, C, C++ <?php echo 'English and Croatian'; ?>
Location : Where web help & support is needed

http://admins.forumotion.com

Back to top Go down

how to align this in the center Empty Re: how to align this in the center

Post by Paradise on Wed Nov 20 2013, 12:52

i have tried it, not working
Paradise
Paradise
Forumember

Male Posts : 117
Reputation : 1
Language : English

http://igboist.forumotion.com/forum

Back to top Go down

how to align this in the center Empty Re: how to align this in the center

Post by TheCrow on Wed Nov 20 2013, 16:12

write at the beginning of the code
Code:
<p class="center">
and at the end of the code
Code:
</p>
TheCrow
TheCrow
Energetic

Male Posts : 6109
Reputation : 706
Language : Greek, English
Location : Cyprus, Greece

https://www.inforumgr.com

Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum