I have two columns of text side by side. One is right aligned and the other is left aligned.
Here is what I have so far:
.alignleft {
float: left;
}
.alignright {
float: right;
}
.list-unstyled {
padding-left: 0;
list-style: none;
}
<ul class="store-opening-hours list-unstyled">
<li>
<div style="text-align:left;">
Monday
<span style="float:right;">9:00 AM - 5:00 PM</span>
</div>
</li>
<li></li>
<li>
<div style="text-align:left;">
Tuesday
<span style="float:right;">9:00 AM - 5:00 PM</span>
</div>
</li>
<li></li>
<li>
<div style="text-align:left;">
Wednesday
<span style="float:right;">9:00 AM - 5:00 PM</span>
</div>
</li>
<li></li>
<li>
<div style="text-align:left;">
Thursday
<span style="float:right;">8:30 AM - 11:00 AM</span>
</div>
</li>
<li>
<div style="text-align:right;">
12:30 PM - 2:00 PM
</div>
</li>
<li>
<b>
<div style="text-align:left;">
Friday
<span style="float:right;">9:00 AM - 2:30 PM</span>
</div>
</b>
</li>
<li>
<b>
<div style="text-align:right;">
6:00 PM - 9:00 PM
</div>
</b>
</li>
<li>
<div style="text-align:left;">
Saturday
<span style="float:right;">9:00 AM - 5:00 PM</span>
</div>
</li>
<li></li>
<li>
<div style="text-align:left;">
Sunday
<span style="float:right;">Closed</span>
</div>
</li>
<li></li>
</ul>
Here is the Jsfiddle link JsFiddle link.
The example above is side by side but the right align text is not vertically aligned as seen in this image:
How can I achieve this?
You can use table instead
<table>
<tr>
<td width="200">Monday</td>
<td>9:00AM - 5:00PM</td>
</tr>
<tr>
<td>Tuesday</td>
<td>9:00AM - 5:00PM</td>
</tr>
<tr>
<td>Wednesday</td>
<td>9:00AM - 5:00PM</td>
</tr>
<tr>
<td>Thursday</td>
<td>8:30AM - 11:00AM</td>
</tr>
<tr>
<td rowspan="2"><b>Friday</b></td>
<td><b>9:00AM - 2:30PM</b></td>
</tr>
<tr>
<td><b>6:00PM - 9:00PM</b></td>
</tr>
<tr>
<td>Saturday</td>
<td>9:00AM - 5:00PM</td>
</tr>
<tr>
<td>Sunday</td>
<td>Closed</td>
</tr>
</table>
Working Demo
<table>
<tr>
<td width="200">Monday</td>
<td>9:00AM - 5:00PM</td>
</tr>
<tr>
<td>Tuesday</td>
<td>9:00AM - 5:00PM</td>
</tr>
<tr>
<td>Wednesday</td>
<td>9:00AM - 5:00PM</td>
</tr>
<tr>
<td>Thursday</td>
<td>8:30AM - 11:00AM</td>
</tr>
<tr>
<td rowspan="2"><b>Friday</b></td>
<td><b>9:00AM - 2:30PM</b></td>
</tr>
<tr>
<td><b>6:00PM - 9:00PM</b></td>
</tr>
<tr>
<td>Saturday</td>
<td>9:00AM - 5:00PM</td>
</tr>
<tr>
<td>Sunday</td>
<td>Closed</td>
</tr>
</table>
How about using table as display properties?
.list-unstyled {
display: table;
padding: 0;
margin: 0;
list-style-type: none;
}
.list-unstyled li {
display: table-row;
}
.list-unstyled li .weekday {
display: table-cell;
width: 400px;
text-align: left;
vertical-align: middle;
}
.list-unstyled li .time {
display: table-cell;
width: 200px;
text-align: left;
}
<ul class="store-opening-hours list-unstyled">
<li>
<div class="weekday">
Monday</div>
<div class="time">9:00 AM - 5:00 PM
</div>
</li>
<li>
<div class="weekday">
Tuesday
</div>
<div class="time">9:00 AM - 5:00 PM
</div>
</li>
<li>
<div class="weekday">
Wednesday
</div>
<div class="time">9:00 AM - 5:00 PM</div>
</li>
<li>
<div class="weekday">
Thursday
</div>
<div class="time">8:30 AM - 11:00 AM<br>12:30 PM - 2:00 PM</div>
</li>
<li>
<div class="weekday">
<strong>Friday</strong>
</div>
<div class="time">9:00 AM - 2:30 PM<br><strong>6:00 PM - 9:00 PM</strong></div>
</li>
<li>
<div class="weekday">
Saturday
</div>
<div class="time">9:00 AM - 5:00 PM
</div>
</li>
<li>
<div class="weekday">
Sunday
</div>
<div class="time">Closed
</div>
</li>
</ul>
Maybe you could do this by adding span class to the timing and days. These spans have a fixed width so that the text aligned.
<ul class="store-opening-hours list-unstyled">
<li>
<div>
<span class="days">Monday</span>
<span class="timings">9:00 AM - 5:00 PM</span>
</div>
</li>
<li>
<div>
<span class="days">Tuesday</span>
<span class="timings">9:00 AM - 5:00 PM</span>
</div>
</li>
<li>
<div>
<span class="days">Wednesday</span>
<span class="timings">9:00 AM - 5:00 PM</span>
</div>
</li>
<li>
<div>
<span class="days">Thursday</span>
<span class="timings">8:30 AM - 11:00 AM</span>
</div>
</li>
<li>
<div>
<span class="days"><br></span>
<span class="timings">12:30 PM - 2:00 PM</span>
</div>
</li>
<li>
<b>
<div>
<span class="days">Friday</span>
<span class="timings">9:00 AM - 2:30 PM</span>
</div>
</b>
</li>
<li>
<b>
<div>
<span class="days"><br></span>
<span class="timings"> 6:00 PM - 9:00 PM</span>
</div>
</b>
</li>
<li>
<div>
<span class="days">Saturday</span>
<span class="timings">9:00 AM - 5:00 PM</span>
</div>
</li>
<li>
<div>
<span class="days">Sunday</span>
<span class="timings">Closed</span>
</div>
</li>
</ul>
.list-unstyled {
padding-left: 0;
list-style: none;
}
.days {
width: 75%;
float: left;
text-align: left;
}
.timings {
width: 25%;
float: right;
text-align: left;
}
Working code
Related
I made a table in my .html file but after checking the page my table was upside down ex my first row is the last row.
#class-container {
position: relative;
width: 80%;
top: 5%;
margin: auto;
background: white;
padding-top: 100px;
clear: both;
}
<div id="class-container">
<table cellpadding="10px" width="100%">
<tr>
<th>
<h1>
Avantaje
</h1>
</th>
<th>
<h1>
Dezavantaje
</h1>
</th>
</tr>
<tr>
<ul type="square">
<li>
<h2>
Consumul redus
</h2>
</li>
<li>
<h2>
Poluarea aproape de zero in afara productiei
</h2>
</li>
<li>
<h2>
Eficienta/randament foarte mare
</h2>
</li>
<li>
<h2>
Accelerare instanta
</h2>
</li>
</ul>
</tr>
</table>
</div>
And the funny thing is that I have another table in another .html file whith the same div and I don't have a problem with that table
I browsed the web but I couldn't find an answer.
You should wrap your ul in a td which should put the headers up back where you expect them.
#class-container {
position: relative;
width: 80%;
top: 5%;
margin: auto;
background: white;
padding-top: 100px;
}
<div id="class-container">
<table cellpadding="10px" width="100%">
<tr>
<th>
<h1>
Avantaje
</h1>
</th>
<th>
<h1>
Dezavantaje
</h1>
</th>
</tr>
<tr>
<td>
<ul type="square">
<li>
<h2>
Consumul redus
</h2>
</li>
<li>
<h2>
Poluarea aproape de zero in afara productiei
</h2>
</li>
<li>
<h2>
Eficienta/randament foarte mare
</h2>
</li>
<li>
<h2>
Accelerare instanta
</h2>
</li>
</ul>
</td>
<td></td>
</tr>
</table>
</div>
Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 3 years ago.
Improve this question
This is the what the codes I already have looks like, but I want to set it to an exact width so everything looks neat:
I'm not very good with HTML and was hoping someone could tell me what to put where. Here's the code I have:
<p align="center">
<span style="color:#000080;"><span style="font-size:48px;"><span style="font-family:times new roman,times,serif;">Product Information</span></span>
</span>
</p>
<div>
<h2>
<span style="color:#000080;"><big><u><span style="background-color:#66ccff;">Description </span></u>
</big>
</span>
</h2>
</div>
<ul>
<li>
<span style="font-size:18px;">This is a 2016 Peyton Manning #18 Jersey.</span></li>
<li>
<span style="font-size:18px;">Team: Denver Broncos</span></li>
<li>
<span style="font-size:18px;">Player: Peyton Manning</span></li>
<li>
<span style="font-size:18px;">Color: Orange</span></li>
<li>
<span style="font-size:18px;">Brand: Nike</span></li>
<li>
<span style="font-size:18px;">This is a used item that has <u>NO</u> defects. No rips, tears, or stains.</span></li>
</ul>
<div>
<div>
<h2>
<span style="color: rgb(0, 0, 128);"><big><u><span style="background-color: rgb(102, 204, 255);">Size </span></u>
</big>
</span>
</h2>
</div>
<ul>
<li>
This is a Large/44 Jersey. These are the measurements:</li>
</ul>
</div>
<p align="center">
<img height="230" src="file:///C:/Users/JONATH~1.TOW/AppData/Local/Temp/msohtmlclip1/01/clip_image001.jpg" width="219"><img height="225" src="file:///C:/Users/JONATH~1.TOW/AppData/Local/Temp/msohtmlclip1/01/clip_image002.jpg" width="225"></p>
<table align="center" border="0" cellpadding="0" cellspacing="0" style="width:276px;" width="276">
<tbody>
<tr>
<td colspan="4" nowrap="nowrap" style="width:276px;height:20px;">
<p align="center">
Measurement Chart</p>
</td>
</tr>
<tr>
<td nowrap="nowrap" style="width:63px;height:20px;">
<p>
<strong>Country</strong></p>
</td>
<td nowrap="nowrap" style="width:75px;height:20px;">
<p>
Length</p>
</td>
<td nowrap="nowrap" style="width:66px;height:20px;">
<p>
Width</p>
</td>
<td nowrap="nowrap" style="width:72px;height:20px;">
<p>
Sleeves</p>
</td>
</tr>
<tr>
<td nowrap="nowrap" style="width:63px;height:20px;">
<p>
<strong>U.S.</strong></p>
</td>
<td nowrap="nowrap" style="width:75px;height:20px;">
<p>
</p>
</td>
<td nowrap="nowrap" style="width:66px;height:20px;">
<p>
</p>
</td>
<td nowrap="nowrap" style="width:72px;height:20px;">
<p>
</p>
</td>
</tr>
<tr>
<td nowrap="nowrap" style="width:63px;height:20px;">
<p>
<strong>Europe</strong></p>
</td>
<td nowrap="nowrap" style="width:75px;height:20px;">
<p>
</p>
</td>
<td nowrap="nowrap" style="width:66px;height:20px;">
<p>
</p>
</td>
<td nowrap="nowrap" style="width:72px;height:20px;">
<p>
</p>
</td>
</tr>
</tbody>
</table>
<div style="clear:both;">
</div>
<p>
</p>
<p align="center">
<span style="font-family:arial,helvetica,sans-serif;"><span style="font-size:18px;">If you want further details on the sizing, please feel free to message us!</span></span>
</p>
<div>
<div>
<h2>
<span style="color: rgb(0, 0, 128);"><big><u><span style="background-color: rgb(102, 204, 255);">Shipping </span></u>
</big>
</span>
</h2>
</div>
<ul>
</ul>
<p>
<span style="font-size:18px;">This item is shipped using USPS Priority Mail. It is shipped out of St. Paul, MN 55014.</span></p>
</div>
<div>
<br>
<span style="font-size:18px;">We try to ship this package within 24 hour of the time you pay for the item.<br>
We ship Internationally.</span></div>
<p>
<span style="font-size:18px;"><img src="http://thebuttonpost.com/wp-content/uploads/2014/07/priority-mail.png" style="margin-left: 12px; margin-right: 12px; float: right; width: 220px; height: 131px;"></span></p>
<div>
</div>
<p>
<span style="font-size:18px;"><u>The following is included in this shipment:</u></span></p>
<div>
<p>
<span style="font-size:18px;">1. 2-4 Day Shipping in the US</span></p>
<div>
<p>
<span style="font-size:18px;">2. Free Tracking</span></p>
<p>
<span style="font-size:18px;">3. Insurance for your package up to $50.00</span></p>
<div>
</div>
<p>
<span style="font-size:18px;">Please insure that your address is correct. If you are worried your package could be stolen please contact your Post Office with the tracking number and have them hold it there for you. Unfortunately once the tracking shows the package has been delivered to the address it is your responsibility and refunds cannot be accepted.</span></p>
<p>
<span style="font-size:18px;">If your package was damaged by USPS, please contact us ASAP with photos showing the extent of the damage. You will be refunded and we will take care of making an insurance claim with USPS since packaging was our responsibility.</span></p>
<p>
</p>
<div>
<div>
<h2>
<span style="color: rgb(0, 0, 128);"><big><u><span style="background-color: rgb(102, 204, 255);">Return Policy </span></u>
</big>
</span>
</h2>
</div>
<p>
<span style="font-size:18px;">We try to make the description of the item you’re buying as detailed as possible to avoid the need for returns. If your item contains a defect that was not listed in the description we will accept a return with photos of the defect. If the item’s defect is clearly not in the photos we posted, or seem to be manufactured, your return will not be accepted.</span></p>
</div>
<div>
<div>
<h2>
<span style="color: rgb(0, 0, 128);"><big><u><span style="background-color: rgb(102, 204, 255);">Payment </span></u>
</big>
</span>
</h2>
</div>
<p>
<span style="font-size:18px;">We accept PayPal and Credit/Debit cards. After you click “Purchase Item” you are not done checking out! Click on <u>PAY NOW</u>. Your package will not be shipped until you pay for your item, and it will be cancelled if you do not pay within 2 Business Days.</span></p>
</div>
<p align="center">
</p>
<p align="center">
</p>
<p style="text-align: center;">
<img alt="" src="http://www.bceldercare.ca/images/paypal-verified.png" style="width: 500px; height: 146px;"></p>
<p align="center">
</p>
</div>
</div>
<p>
</p>
I wouldn't recommend a fixed width. On mobile devices your template wont show very well. I would recommend you look a simple responsive grid css layout like skeleton - it will resize it all to the width of the browser, works fine in eBay!
How about putting your entire page in a container, giving that container a width of how big you want it to be and centering it. In my snippet, I gave the container a width of 50vw (Which equals to 50% of the current viewport width)
#container{
width:50vw;
display:block;
margin:0 auto;
}
<div id="container">
<p align="center">
<span style="color:#000080;"><span style="font-size:48px;"><span style="font-family:times new roman,times,serif;">Product Information</span></span></span></p>
<div>
<h2>
<span style="color:#000080;"><big><u><span style="background-color:#66ccff;">Description </span></u></big></span></h2>
</div>
<ul>
<li>
<span style="font-size:18px;">This is a 2016 Peyton Manning #18 Jersey.</span></li>
<li>
<span style="font-size:18px;">Team: Denver Broncos</span></li>
<li>
<span style="font-size:18px;">Player: Peyton Manning</span></li>
<li>
<span style="font-size:18px;">Color: Orange</span></li>
<li>
<span style="font-size:18px;">Brand: Nike</span></li>
<li>
<span style="font-size:18px;">This is a used item that has <u>NO</u> defects. No rips, tears, or stains.</span></li>
</ul>
<div>
<div>
<h2>
<span style="color: rgb(0, 0, 128);"><big><u><span style="background-color: rgb(102, 204, 255);">Size </span></u></big></span></h2>
</div>
<ul>
<li>
This is a Large/44 Jersey. These are the measurements:</li>
</ul>
</div>
<p align="center">
<img height="230" src="file:///C:/Users/JONATH~1.TOW/AppData/Local/Temp/msohtmlclip1/01/clip_image001.jpg" width="219"><img height="225" src="file:///C:/Users/JONATH~1.TOW/AppData/Local/Temp/msohtmlclip1/01/clip_image002.jpg" width="225"></p>
<table align="center" border="0" cellpadding="0" cellspacing="0" style="width:276px;" width="276">
<tbody>
<tr>
<td colspan="4" nowrap="nowrap" style="width:276px;height:20px;">
<p align="center">
Measurement Chart</p>
</td>
</tr>
<tr>
<td nowrap="nowrap" style="width:63px;height:20px;">
<p>
<strong>Country</strong></p>
</td>
<td nowrap="nowrap" style="width:75px;height:20px;">
<p>
Length</p>
</td>
<td nowrap="nowrap" style="width:66px;height:20px;">
<p>
Width</p>
</td>
<td nowrap="nowrap" style="width:72px;height:20px;">
<p>
Sleeves</p>
</td>
</tr>
<tr>
<td nowrap="nowrap" style="width:63px;height:20px;">
<p>
<strong>U.S.</strong></p>
</td>
<td nowrap="nowrap" style="width:75px;height:20px;">
<p>
</p>
</td>
<td nowrap="nowrap" style="width:66px;height:20px;">
<p>
</p>
</td>
<td nowrap="nowrap" style="width:72px;height:20px;">
<p>
</p>
</td>
</tr>
<tr>
<td nowrap="nowrap" style="width:63px;height:20px;">
<p>
<strong>Europe</strong></p>
</td>
<td nowrap="nowrap" style="width:75px;height:20px;">
<p>
</p>
</td>
<td nowrap="nowrap" style="width:66px;height:20px;">
<p>
</p>
</td>
<td nowrap="nowrap" style="width:72px;height:20px;">
<p>
</p>
</td>
</tr>
</tbody>
</table>
<div style="clear:both;">
</div>
<p>
</p>
<p align="center">
<span style="font-family:arial,helvetica,sans-serif;"><span style="font-size:18px;">If you want further details on the sizing, please feel free to message us!</span></span></p>
<div>
<div>
<h2>
<span style="color: rgb(0, 0, 128);"><big><u><span style="background-color: rgb(102, 204, 255);">Shipping </span></u></big></span></h2>
</div>
<ul>
</ul>
<p>
<span style="font-size:18px;">This item is shipped using USPS Priority Mail. It is shipped out of St. Paul, MN 55014.</span></p>
</div>
<div>
<br>
<span style="font-size:18px;">We try to ship this package within 24 hour of the time you pay for the item.<br>
We ship Internationally.</span></div>
<p>
<span style="font-size:18px;"><img src="http://thebuttonpost.com/wp-content/uploads/2014/07/priority-mail.png" style="margin-left: 12px; margin-right: 12px; float: right; width: 220px; height: 131px;"></span></p>
<div>
</div>
<p>
<span style="font-size:18px;"><u>The following is included in this shipment:</u></span></p>
<div>
<p>
<span style="font-size:18px;">1. 2-4 Day Shipping in the US</span></p>
<div>
<p>
<span style="font-size:18px;">2. Free Tracking</span></p>
<p>
<span style="font-size:18px;">3. Insurance for your package up to $50.00</span></p>
<div>
</div>
<p>
<span style="font-size:18px;">Please insure that your address is correct. If you are worried your package could be stolen please contact your Post Office with the tracking number and have them hold it there for you. Unfortunately once the tracking shows the package has been delivered to the address it is your responsibility and refunds cannot be accepted.</span></p>
<p>
<span style="font-size:18px;">If your package was damaged by USPS, please contact us ASAP with photos showing the extent of the damage. You will be refunded and we will take care of making an insurance claim with USPS since packaging was our responsibility.</span></p>
<p>
</p>
<div>
<div>
<h2>
<span style="color: rgb(0, 0, 128);"><big><u><span style="background-color: rgb(102, 204, 255);">Return Policy </span></u></big></span></h2>
</div>
<p>
<span style="font-size:18px;">We try to make the description of the item you’re buying as detailed as possible to avoid the need for returns. If your item contains a defect that was not listed in the description we will accept a return with photos of the defect. If the item’s defect is clearly not in the photos we posted, or seem to be manufactured, your return will not be accepted.</span></p>
</div>
<div>
<div>
<h2>
<span style="color: rgb(0, 0, 128);"><big><u><span style="background-color: rgb(102, 204, 255);">Payment </span></u></big></span></h2>
</div>
<p>
<span style="font-size:18px;">We accept PayPal and Credit/Debit cards. After you click “Purchase Item” you are not done checking out! Click on <u>PAY NOW</u>. Your package will not be shipped until you pay for your item, and it will be cancelled if you do not pay within 2 Business Days.</span></p>
</div>
<p align="center">
</p>
<p align="center">
</p>
<p style="text-align: center;">
<img alt="" src="http://www.bceldercare.ca/images/paypal-verified.png" style="width: 500px; height: 146px;"></p>
<p align="center">
</p>
</div>
</div>
<p>
</p>
</div>
i have a list:
<ul>
<li>
<span class="first">the dog jumped over the fox</span>
<span class="second">1</span>
<span class="third">Edit</span>
</li>
<li>
<span class="first">cat and mouse</span>
<span class="second">1</span>
<span class="third">Edit</span>
</li>
<li>
<span class="first">doggie</span>
<span class="second">1</span>
<span class="third">View report</span>
</li>
</ul>
and i want to set the width of the first <span> in each <li> to be equal to the one with the longest text. in this case, the longest text is "the dog jumped over the fox" so i want all the other <span class="first">s to match it. i also want to apply the same logic to any additional <span>s within the <li>. basically, all the <span class="first"> have the same length, all the <span class="second"> have the same length, and all the <span class="third"> have the same length. here's what i want to achieve:
-------------------------------------------
the dog jumped over the fox |1|Edit |
-------------------------------------------
cat and mouse |1|Edit |
-------------------------------------------
doggie |1|View report|
-------------------------------------------
thanks!
Apply CSS like below.
ul{display:table; width:100%; padding:0;}
li{display:table-row;}
li span{display:table-cell; text-align:left;}
DEMO
What about using <table>?
See this fiddle.
HTML
<table>
<tr>
<td>the dog jumped over the fox</td>
<td>1</td>
<td>Edit</td>
</tr>
<tr>
<td>cat and mouse</td>
<td>1</td>
<td>Edit</td>
</tr>
<tr>
<td>doggie</td>
<td>1</td>
<td>View report</td>
</tr>
</table>
You have to set the li to display: block; and float at least the first span, then give it a certain width. Haven't tested for crossbrowser compatibility, but it should work. Demo: http://jsfiddle.net/fdhu0w07/
`
ul {
display: block;
}
ul li {
display: block;
}
ul li span {
display: inline-block;
}
ul > li > span:first-of-type{
float: left;
width: 220px;
}`
Put your list in a table in your html.
<table>
<ul>
<li>
<span class="first">the dog jumped over the fox</span>
<span class="second">1</span>
<span class="third">Edit</span>
</li>
<li>
<span class="first">cat and mouse</span>
<span class="second">1</span>
<span class="third">Edit</span>
</li>
<li>
<span class="first">doggie</span>
<span class="second">1</span>
<span class="third">View report</span>
</li>
</ul>
</table>
Then in your CSS
table{
table-layout: fixed;
width: 300px;
}
The Pixel Width can be up to you!
Good Luck!
I'm having problem getting the same results in Firefox as in Chrome.
In Chrome, layout is as I want it to be, while in Firefox it seems different.
here is the markup:
<body>
<div id="big_wrapper">
<header id="top_header">
<h1>Maple 16</h1>
</header>
<div id="box">
<aside id="sidebar">
<table cellpadding="0" cellspacing="15px">
<col span="7" width="160px" />
<row span="7" width="160px" />
<tr>
<td colspan="1" bgcolor="#40b040">
</td>
</tr>
<tr>
<td colspan="1" bgcolor="#ffbf00" class="img">
<img src="../images/buttons/shop.png">
</td>
</tr>
<tr>
<td colspan="1" bgcolor="#4040ff" class="img">
<img src="../images/buttons/download.png">
</td>
</tr>
</table>
</aside>
<section>
<article id="maple_article" dir="rtl" align="right">
<h1>מהי Maple?</h1><br />
<p>
Maple היא תוכנה לפתרון בעיות מתמטיות הנדסיות המשלבת יכולות סימבוליות, ממשק גרפי נוח לשימוש ומנוע נומרי.<br />
כתיבת הקוד והטקסט הינה כתיבה אינטואיטיבית ונוחה לעריכה.<br />
כמו כן קיים תיעוד מלא של תהליך הפתרון אשר מהווה מסמך.<br />
</p>
<p class="notice">
היות ו Maple אינה תוכנה אמריקאית, Maple ושרשרת המוצרים הנלווים ל Maple אינם תחת הגבלות שימוש והפצה של ארה"ב.
השימוש ב Maple אינו מצריך אישור EULA.
</p>
<h2>תכונותיה העיקריות של Maple:</h2>
<br />
<ul>
<li>
יכולות גרפיות גבוהות, יצירת אפליקציות אנימציה בקלות וממשק משתמש גרפי (GUI) נוח ואינטואיטיבי.
</li>
<li>
במהלך הכתיבה ב Maple מתבצע תיעוד מלא של תהליך הפתרון וכתיבת המסמך – תהליך חשוב והכרחי לשימור ידע.
</li>
<li>
פתרון מגוון רחב של בעיות מתמטיות (אלגברה, חדוו"א, משוואות דיפרנציאליות, סטטיסטיקה הסתברות ועוד..) המתבצע בקלות וללא הגבלת דיוק באמצעות המנוע הנומרי החזק של התוכנה.
</li>
<li>
ל Maple סביבת תכנות מלאה הניתנת להרחבה. כמו כן, Maple יודע לבצע חישובים של קוד הנכתב בשפת תכנות אחרת.
</li>
<li>
ל Maple אפשרות להדריך (ולתקן במקרה הצורך) בפתרון בעיות מתמטיות שונות באמצעות תרגולים ופותרנים מובנים בתוכנה.
<li>
<li>
ל Maple יכולת להתממשק עם מגוון רחב של תוכנות לדוגמת Matlab ToolChain, Optimus ועוד..
</li>
</ul>
<br /><br />
<p>
כיום קיימים ב Maple יותר מ-170 חבילות תוכן (Packages) במגוון רחב של נושאים אשר מגיעים עם התוכנה עצמה וללא תשלום נוסף.
<p>
</article>
</section>
</div>
<div id="screenshots">
<h2>Screenshots</h2>
<table cellspacing="15px" id="shots_table">
<tr>
<td>
<img src="http://placehold.it/160x160">
</td>
<td>
<img src="http://placehold.it/160x160">
</td>
<td>
<img src="http://placehold.it/160x160">
</td>
<td>
<img src="http://placehold.it/160x160">
</td>
<td>
<img src="http://placehold.it/160x160">
</td>
</tr>
</table>
</div>
<footer id="footer">
Copyrights Digisec Technology. All rights reserved.
</footer>
</div>
</body>
As you can see, I'm using big wrapper for whole site, and box for article pages.
so box will contain the sidebar and the article.
following is the CSS parts which seems relevant:
#top_header{
margin-top: 5px;
padding: 20px;
}
#footer{
color: grey;
text-align: center;
padding: 20px;
border-top: 2px solid black;
}
/*Articles*/
#box{
display: -webkit-box;
-webkit-box-orient: horizontal;
display: -moz-box;
-moz-box-orient: horizontal;
display: -o-box;
-o-box-orient: horizontal;
margin-bottom: 10px;
}
#maple_article{
width: 85%;
color: #f8f8f8;
font-size: 16px;
margin-left: 15px;
}
#sidebar{
width: 15%;
}
.notice{
color: #FF6666 ;
}
/*ScreenShots*/
#screenshots{
text-align: right;
}
#shots_table{
float: right;
}
You can see I'm defining 15% width for the sidebar and 85% for the article.
the screen shots our outside the box section.
I'm using box layout and also made sure moz is also defined.
What am I missing?
Well, I was dumb, Had to define specific width to sidebar and make the article flexible.
Why doesn't my script work?
I want to replace numbers in this code:
<!--m-->
<li class="g videobox" style="position:relative">
<div class="s">
<table class="ts" style="width:auto">
<tbody>
<tr>
<td style="padding-top:5px;padding-right:8px" valign="top" width="1%">
<div class="th" style="background-color:#000;height:68px;overflow:hidden;position:relative;width:120px">
<a id="v0" style="text-decoration:none" href="/url?url=http://www.dailymotion.com/video/xt80kj_2nd-september-2012-southampton-vs-manchester-united-2-3-hd_sport&rct=j&sa=X&ei=P2hEUIfkKYKk0QXppoHgCA&ved=0CDwQuAIwAA&q=manchester&usg=AFQjCNGmLl3hg6CUcX5MsuU-njXolHOOlQ">
<div style="position:relative;top:0px;left:0px">
<img src="data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAkGBwgHBgkIBwgKCgkLDRYPDQwMDRsUFRAWIB0iIiAdHx8kKDQsJCYxJx8fLT0tMTU3Ojo6Iys/RD84QzQ5Ojf/2wBDAQoKCg0MDRoPDxo3JR8lNzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzf/wAARCABDAHgDASIAAhEBAxEB/8QAGwAAAgMBAQEAAAAAAAAAAAAAAA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XxrL31ybu5eUjG4/f4n41osVUZXvPKgyvTrpDTV1TXra3dVkTduaItgyAdwPX1x6CktSW80lvPHPCxWSNg6MPIg5BoSkZyZJ6TqugWGi6qDaxSTWk/vxIXKNEfNTxyP5orK2fU17dalC2q3UssOSuFA93PmBx8POigahm8wlBxH69cUQLjpPV9A0qwl0ZmltkclVzvyQfoaWa5qV5a+zwWs7W8bTkEQ4TIA9Rj0ooq3RJrIc2YMX3sjvc2Tu7O2H95jk/c1KedW55zbp3+Zooqmf3jy+n+k4jhibVboGNcCRfL4CtZYWFrZ9PyzwQIJAmQWG7k8ng5ooo6RLUHDcfExGo3txeOTcSbthIUBQoH0FUdxx3oopCwncZq1ekTo0m6oA9hjP/fRRXU9YgPEP4R/qZaiiinZ4uWLNVczbgDiFiM+RxVeiipJPoODkUUUVJJ//2Q==" alt="" id="vidthumb1" class="th vidthumb1" style="display:inline-block;height:67px;margin:0px 0px 0px 0px;border:0;width:120px" align="middle" border="0" height="67" width="120">
</div>
<span class="vdur" style="right:0;background-color:#000;bottom:0;color:#000;filter:alpha(opacity=70);font-size:11px;font-weight:bold;opacity:0.7;-khtml-opacity:0.7;-moz-opacity:0.7;padding:1px 3px;position:absolute;text-align:right;text-decoration:none">► 4:01</span>
<span class="vdur" style="right:0;bottom:0;color:#fff;font-size:11px;font-weight:bold;padding:1px 3px;position:absolute;text-align:right;text-decoration:none">► 4:01</span>
</a>
</div>
</td>
<td style="padding-top:1px" valign="top">
<h3 class="r inl">
<a href="http://www.dailymotion.com/video/xt80kj_2nd-september-2012-southampton-vs-manchester-united-2-3-hd_sport" class="l" onmousedown="return rwt(this,'','0','','1','AFQjCNFZjowZj8K920o31HeauBkHuwmpzA','6LR8Li4Qt3qhz4xWQE49yQ','0CDsQtwIwAA',null,event)" title="2nd September 2012 Southampton vs Manchester United 2-3 [HD] - Video Dailymotion">2nd September 2012 Southampton vs <em>Manchester</em> <b>...</b>
</a>
</h3>
<div> <cite class="kv">dailymotion.com</cite>
<span class="st">
<span class="f">
<span style="background:#aaa;border:#999 1px solid;border-radius:2px;-moz-border-radius:2px;-webkit-border-radius:2px;color:#fff;font-size:10px;font-weight:bold;margin-right:5px;padding:0 3px;text-transform:uppercase">New</span>
<span class="nobr">14 hours ago</span> - <span class="nobr">4 min</span>
</span>
<br>2nd September 2012 Southampton vs <em>Manchester</em> United 2-3 [HD]<br>
</span>
</div> </td>
</tr>
</tbody>
</table>
</div>
<!--n-->
<!--m-->
</li>
<li class="g videobox" style="position:relative">
<div class="s">
<table class="ts" style="width:auto">
<tbody>
<tr>
<td style="padding-top:5px;padding-right:8px" valign="top" width="1%">
<div class="th" style="background-color:#000;height:68px;overflow:hidden;position:relative;width:120px">
<a id="v0" style="text-decoration:none" href="/url?url=http://www.footytube.com/video/southampton-manchester-united-sep02-127801&rct=j&sa=X&ei=P2hEUIfkKYKk0QXppoHgCA&ved=0CD8QuAIwAQ&q=manchester&usg=AFQjCNGWDlz10zch_sUaWuQ63AO88LPtzA">
<div style="position:relative;top:-1px;left:0px">
<img src="data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAkGBwgHBgkIBwgKCgkLDRYPDQwMDRsUFRAWIB0iIiAdHx8kKDQsJCYxJx8fLT0tMTU3Ojo6Iys/RD84QzQ5Ojf/2wBDAQoKCg0MDRoPDxo3JR8lNzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzf/wAARCABGAHgDASIAAhEBAxEB/8QAGwAAAgMBAQEAAAAAAAAAAAAAAAUDBAYBAgf/xAA1EAACAQMDAgQDBgYDAQAAAAABAgMABBEFEiETMQZBUWEicYEUMjORobEHFRYjQsFSU9Hw/8QAGQEAAgMBAAAAAAAAAAAAAAAAAgMAAQQF/8QAIxEAAgICAgICAwEAAAAAAAAAAAECEQMhEjETQSJhBCMyUf/aAAwDAQACEQMRAD8A+c3IWWCJQxXIQZYeuKd6HqMmmk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sqAbQwAOBjNXzTM0eVFK4iZdDtOrH0ZcIrA9147cUji0T7ffTs06LEjbgW53ADz961l000unwygIj9QFfaqFtvto5m6YaRyMENj50DnTNWOlGpE+i6TYyafNd9EZaaNNmeAvYkfX9660FghhtZYsyko24nvk8gj0xUFpJcWsdrEhbppKzS4PDLjgfng1bFyu1G6GbgFA7nzRWB/PiheT7JcbJG0+3t7j7OIcvskkO04yPIUV5Fyr7uurNjqhdp5CNzjNFEpoF5GLrK3BsoCc/hr2OPIVaWEKAAg4qGyDfYoO/4SfsKnCt/yJrPJNsN5JP2d6Yznpiu7PiBIxkiuEEf5H5ZoGcj5jzqJAW/ZpPFyrssOB+Ge9LtAAGs2zEAndTDxf93T8/8AWaXeHxnV7fHk1Nf9oWutnnVUU6reHAz1n/eoo4MqZHISMdzVvVIY01G6kmY/isVQdzzVCWQzMMnAHYDypclTKIdTvorO0Z9oCL91R3Y1noLV0ni1bU76W2jYgp0eX9segpRrmoS3N/OjNtjjYqiD9T86nTUheRWUDFN1uCGRxnI7AkVphGkHGkaq31i3uLuWyjn6qcNEW43DA8vWr2zHlj60hvNLhnjsrqJhBcQhG3Jj4lyMj/ynszW6sWiuN8RAKtuHas+Rb0VI4yqT2rgUD7orz1It34gOe2CK7leDvznyyKVsA66DptlQPhNFDLhWBJ7HvRVoJIX2Vvm0gG5vwk/yPoKsBSg2hjz70UUTewjghGdxOTXtVCnI9v3ooqJ7IzR+LRuXTxnnpn/VLGH2Eb4/xc8N6UUU2fYBU3NI7OzEsTkk9zQVFFFIIYDxVbfZdXl2HiYdQD0z3/apdAv/ALPA1s8auhY7coMgtwcn60UVvj0EjWai3SuDDGQ+5Qz70A7DHHoavC2Zgro6N2OXjAIX0wOPaiik5G10WyuYJTlQ0QAG5m2ct6cduAccV5FtIpP9xPulfwh7UUUjk32CTAFYcZyADyaKKKAJH//Z" alt="" id="vidthumb2" class="th vidthumb2" style="display:inline-block;height:70px;margin:0px 0px 0px 0px;border:0;width:120px" align="middle" border="0" height="70" width="120">
</div>
<span class="vdur" style="right:0;background-color:#000;bottom:0;color:#000;filter:alpha(opacity=70);font-size:11px;font-weight:bold;opacity:0.7;-khtml-opacity:0.7;-moz-opacity:0.7;padding:1px 3px;position:absolute;text-align:right;text-decoration:none">► 4:40</span>
<span class="vdur" style="right:0;bottom:0;color:#fff;font-size:11px;font-weight:bold;padding:1px 3px;position:absolute;text-align:right;text-decoration:none">► 4:40</span>
</a>
</div>
</td>
<td style="padding-top:1px" valign="top">
<h3 class="r inl">
<a href="http://www.footytube.com/video/southampton-manchester-united-sep02-127801" class="l" onmousedown="return rwt(this,'','0','','2','AFQjCNE5svFiL4Af9K2TuhaGf4ydP-LjtQ','t7BFtngpHDrP_gEBAAj7eg','0CD4QtwIwAQ',null,event)" title="Southampton vs. Manchester United Video Highlights & Interviews (02nd Sep 12)">Southampton vs. <em>Manchester</em> United Video <b>...</b>
</a>
</h3>
<div> <cite class="kv">footytube.com</cite>
<span class="st">
<span class="f">
<span style="background:#aaa;border:#999 1px solid;border-radius:2px;-moz-border-radius:2px;-webkit-border-radius:2px;color:#fff;font-size:10px;font-weight:bold;margin-right:5px;padding:0 3px;text-transform:uppercase">New</span>
<span class="nobr">13 hours ago</span> - <span class="nobr">5 min</span>
</span>
<br>Southampton v <em>Manchester</em> United video highlights, results and news. Match played on Sunday, Sep 02 2012 <b>...</b>
<br>
</span>
</div> </td>
</tr>
</tbody>
</table>
</div>
<!--n-->
<!--m-->
</li>
<li class="g videobox" style="position:relative">
<div class="s">
<table class="ts" style="width:auto">
<tbody>
<tr>
<td style="padding-top:5px;padding-right:8px" valign="top" width="1%">
<div class="th" style="background-color:#000;height:68px;overflow:hidden;position:relative;width:120px">
<a id="v0" style="text-decoration:none" href="/url?url=http://www.footytube.com/video/southampton-manchester-united-sep02-127812&rct=j&sa=X&ei=P2hEUIfkKYKk0QXppoHgCA&ved=0CEIQuAIwAg&q=manchester&usg=AFQjCNEBZOpSGbL3i-xMze45YxunEAhAag">
<div style="position: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+HwtpLmUo06dQyAabw+Mr01bk23mt8nQGwpSSpQR/TntQmarUQZ2EBmExDdCOapJwQEtpTj60VRZ3WJUFSlSUJUUjKAkq0mioGcg1Uq/V/1ETnHinGUI5b6dPXQoAfSoL41imWX1Q3iSBnKhk0UVTxE75G/Mi3xlHSh1JiOnX08Q2q1HGltEcIdgylqHYLSAf80UVgUXObK9dyTfHsZqQp1q2BsfoIwpQ+Zql7jdDow6w8odhqFFFaVExMrjoyn/AFfGP+1e/uFB4ujYz7I7/cKKKwosYc+Su5B7iqO4ytHsrmFpI6iucalpb2CVY+NFFEgA6k+Z2Y7k/bVKO4wrzFXRrq5FeDjAw4OuoagflRRTTETPKmGW4t1zPMVuT0G1euPsDSqO2tO3iBPf0ooofc6ObFxKxbdaX4zjqFDolWKKKKEqCZ0//9k=" alt="" id="vidthumb3" class="th vidthumb3" style="display:inline-block;height:70px;margin:0px 0px 0px 0px;border:0;width:120px" align="middle" border="0" height="70" width="120">
</div>
<span class="vdur" style="right:0;background-color:#000;bottom:0;color:#000;filter:alpha(opacity=70);font-size:11px;font-weight:bold;opacity:0.7;-khtml-opacity:0.7;-moz-opacity:0.7;padding:1px 3px;position:absolute;text-align:right;text-decoration:none">► 5:53</span>
<span class="vdur" style="right:0;bottom:0;color:#fff;font-size:11px;font-weight:bold;padding:1px 3px;position:absolute;text-align:right;text-decoration:none">
with this code:
var html = document.getElementsByTagName("tr")[0].getElementsByTagName("td")[1].innerHTML
html = html.replace( /2012/g, "???" );
document.getElementsByTagName("tr")[0].getElementsByTagName("td")[1].innerHTML =html;
In this code i want to replace 2012 with ????
But I want to replace every number in the value by ??? but not replace the numbers in url.
Is that possible?
Since the URLs all use slash - in the URL you could do something like:
html = html.replace( /[^\-]2012/g, " ???" );