0
Welcome Guest!
Login
0
items
Join Now
Login
Join Now
Search
Home
Grav
Themes
Joomla!
Templates
Extensions
WordPress
Themes
Plugins
Docs
Forum
Perks
Index
Recent Topics
Rules
Search Forum
Premier Support
ROCKETTHEME IS CLOSING ON JUNE 30, 2025.
As a thank-you to our community, enjoy
50% off all themes
with the promo code
THANKYOU
before we shut down. Read our
Farewell Blog Post
for more details.
You are here:
Forum
General
The Water Cooler
Topic
html layout
Last Post
Search Topic
flyerdave
Sr. Rocketeer
Posts:
125
Thanks:
0
html layout
Posted 14 years 11 months ago
This may sound a bit daft to those that know but why is html code layed out this way?
<body id="ff-<?php echo $fontfamily; ?>" class="<?php echo $fontstyle; ?> <?php echo $tstyle; ?> iehandle">
<!--Begin Top Bar-->
<?php if ($show_date == "true" or $show_textsizer == "true" or $this->countModules('top-left or login or top-right')): ?>
<div id="top-bar">
<div class="wrapper">
<div class="top-bar-padding">
<div class="topbar-strip">
<?php if ($show_date == "true") : ?>
<div class="date-block">
Why not reduce the white space, therefore size of file?
There may be a very good reason so if there is please could someone explain.
thanks
#517325
prim
Preeminent Rocketeer
Posts:
17290
Thanks:
217
Re: html layout
Posted 14 years 11 months ago
It's easier to read this way. And it's PHP code...
Also ,you can use RokGZipper if you are worried about size...
Please reply with a direct link to the issue & create a new thread for each new issue.
A template is only as good as the content that goes into it
- DanG
#517350
Time to create page: 0.066 seconds
Powered by
Kunena Forum